- WMI Library -
WMI Libraly > Win32_TimeZone Class

Win32_TimeZone Class

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.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.


Properties

  • Bias
  • 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
  • A short textual description (one-line string) of the CIM_Setting object.

  • DaylightBias
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • The DaylightMonth property specifies the month when the transition from standard time to daylight savings time occurs on this operating system.
    Example: 1 = January

  • DaylightName
  • 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
  • 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
  • The DaylightYear property indicates the year when daylight saving time is in effect. This member is not required.
    Example: 1997

  • Description
  • A textual description of the CIM_Setting object.

  • SettingID
  • The identifier by which the CIM_Setting object is known.

  • StandardBias
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • The StandardMonth property specifies the month when the transition from daylight savings time to standard time occurs on this operating system.
    Example: 12

  • StandardName
  • The StandardName property indicates the name of the time zone being represented when standard time is in effect.
    Example: EST = Eastern Standard Time.

  • StandardSecond
  • 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
  • The StandardYear property indicates the year when standard time is in effect. This member is not required.
    Example: 1997


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_TimeZone
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...