Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Time object

[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

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 has these types of members:

Collections

The System.Time object has these collections.

CollectionDescription
timeZones

A collection of System.Time.timeZone objects.

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

 

Methods

The System.Time object has these methods.

MethodDescription
getLocalTime

Gets the system time for a specific time zone.

 

Properties

The System.Time object has these properties.

PropertyAccess typeDescription

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008

IDL

Sidebar.idl

DLL

Sidebar.Exe (version 1.00 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.