System.Time Object

Defines the properties and methods for determining system time information as well as the properties for the timeZones collection.

Note   Objects of type System.Time.timeZone can only be accessed through the timeZones collection. This collection is a member of System.Time.

Members

The System.Time object defines the following members:

  • Methods
  • Properties

Methods

The System.Time object defines the following method.

Method Description
getLocalTime

Gets the system time for a specific time zone.

 

Properties

The System.Time object defines the following property.

Property Access type Description

currentTimeZone

Read-only

Gets a System.Time.timeZone object that represents the system time zone.

 

Remarks

Each System.Time.timeZone in the timeZones collection corresponds to the time zones itemized in the Time Zone Settings dialog.

The following image shows the Time Zone Settings dialog.

 

Time Zone Settings dialog

 

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK