Win32_TimeZone

The Win32_TimeZone class represents the time zone information for a Win32 system. This includes changes needed for the transition to and from daylight savings time.

Quick Start

Properties

In this WMI class, all WMI properties are read-only. You can only read values but not change them.

Bias

Data type SInt32

The Bias property specifies the current bias for local time translation. The bias is the difference between Coordinated Universal Time (UTC) and local time. All translations between UTC and local time are based on the following formula: UTC = local time + bias. This member is required.

Caption

Data type String

A short textual description (one-line string) of the CIM_Setting object.

DaylightBias

Data type SInt32

The DaylightBias property specifies a bias value to be used during local time translations that occur during daylight time. This member is ignored if a value for the DaylightDay member is not supplied. The value of this member is added to the Bias member to form the bias used during daylight time. In most time zones, the value of this member is -60.

DaylightDay

Data type UInt32

The DaylightDay property specifies the DaylightDayOfWeek ofthe DaylightMonth when the transition from standard time to daylight savingstime occurs on this operating system.

Example: 15

If the transition day DaylightDayOfWeek occurs on a Sunday, then the value 1 denotes the first Sunday of the DaylightMonth, 2 denotesthe second Sunday, and so forth, and 5 denotes the last Sunday of theDaylightMonth.

DaylightDayOfWeek

Data type UInt8

The DaylightDayOfWeek property specifies the day of the week when the transition from standard time to daylight savings time occurs on this operating system.

Example: 1

DaylightHour

Data type UInt32

The DaylightHour property specifies the hour of the day when the transition from standard time to daylight savings time occurs on this operating system.

Example: 2

DaylightMillisecond

Data type UInt32

The DaylightMillisecond property specifies the millisecond of the DaylightSecond when the transition from standard time to daylight savings time occurs on this operating system.

DaylightMinute

Data type UInt32

The DaylightMinute property specifies the minute of the DaylightHour when the transition from standard time to daylight savings time occurs on this operating system.

Example: 59

DaylightMonth

Data type UInt32

The DaylightMonth property specifies the month when the transition from standard time to daylight savings time occurs on this operating system.

Example: 1 = January

$DaylightMonth_ReturnValue = 
@{
    1='January'
    2='February'
    3='March'
    4='April'
    5='May'
    6='June'
    7='July'
    8='August'
    9='September'
   10='October'
   11='November'
   12='December'
}

DaylightName

Data type String

The DaylightName property indicates the name of the time zone being represented when daylight savings time is in effect.

Example: EDT = Eastern Daylight Time.

DaylightSecond

Data type UInt32

The DaylightSecond property specifies the second of of the DaylightMinute when the transition from standard time to daylight savings time occurs on this operating system.

Example: 59

DaylightYear

Data type UInt32

The DaylightYear property indicates the year when daylight saving time is in effect. This member is not required.

Example: 1997

Description

Data type String

A textual description of the CIM_Setting object.

SettingID

Data type String

The identifier by which the CIM_Setting object is known.

StandardBias

Data type UInt32

The StandardBias property specifies a bias value to be used when daylight savings time is not in effect. This member is ignored if a value for the StandardDay member is not supplied. The value of this member is added to the Bias member to form the bias during standard time.

Example: 0

StandardDay

Data type UInt32

The StandardDay property specifies the StandardDayOfWeekof the StandardMonth when the transition from daylight saving time to standardtime occurs on this operating system.

Example: 31

If the transition day StandardDayOfWeek occurs on a Sunday, then thevalue 1 denotes the first Sunday of the StandardMonth, 2 denotes the secondSunday, and so forth, and 5 denotes the last Sunday of the StandardMonth.

StandardDayOfWeek

Data type UInt8

The StandardDayOfWeek property specifies the day of the week when the transition from daylight savings time to standard time occurs on this operating system.

Example: 1

StandardHour

Data type UInt32

The StandardHour property specifies the hour of the day when the transition from daylight savings time to standard time occurs on this operating system.

Example: 11

StandardMillisecond

Data type UInt32

The StandardMillisecond property specifies the millisecond of the StandardSecond when the transition from daylight savings time to standard time occurs on this operating system.

StandardMinute

Data type UInt32

The StandardMinute property specifies the minute of the StandardDay when the transition from daylight savings time to standard time occurs on this operating system.

Example: 59

StandardMonth

Data type UInt32

The StandardMonth property specifies the month when the transition from daylight savings time to standard time occurs on this operating system.

Example: 12

$StandardMonth_ReturnValue = 
@{
    1='January'
    2='February'
    3='March'
    4='April'
    5='May'
    6='June'
    7='July'
    8='August'
    9='September'
   10='October'
   11='November'
   12='December'
}

StandardName

Data type String

The StandardName property indicates the name of the time zone being represented when standard time is in effect.

Example: EST = Eastern Standard Time.

StandardSecond

Data type UInt32

The StandardSecond property specifies the second of the StandardMinute when the transition from daylight savings time to standard time occurs on this operating system.

Example: 59

StandardYear

Data type UInt32

The StandardYear property indicates the year when standard time is in effect. This member is not required.

Example: 1997

Methods

Examples

See Also

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:26:41 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin