Export (0) Print
Expand All

System.Time.timeZones property

[ 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. ]

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.

This property is read-only.

Syntax


objtimeZones = System.Time.timeZones


Property value

A collection of System.Time.timeZone objects.

Examples

The following example demonstrates how to create a timeZones Collection, select the System.Time.timeZone instance at index 1 from the timeZones Collection, and access the name property of that System.Time.timeZone instance.


var collTimeZones = System.Time.timeZones; 
			
var oTimeZone = collTimeZones.item(1);  
			
var strName = oTimeZone.displayName;

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)

See also

Reference
count
item
System.Time.timeZone
System.Time

 

 

Community Additions

ADD
Show:
© 2014 Microsoft