The TIME_ZONE_INFORMATION structure specifies information specific to the time zone.
typedef struct _TIME_ZONE_INFORMATION { // tzi LONG Bias; WCHAR StandardName[ 32 ]; SYSTEMTIME StandardDate; LONG StandardBias; WCHAR DaylightName[ 32 ]; SYSTEMTIME DaylightDate; LONG DaylightBias; } TIME_ZONE_INFORMATION;
UTC = local time + bias
This member is required.
This member supports two date formats. Absolute format specifies an exact date and time when standard time begins. In this form, the wYear, wMonth, wDay, wHour, wMinute, wSecond, and wMilliseconds members of the SYSTEMTIME structure are used to specify an exact date.
Day-in-month format is specified by setting the wYear member to zero,
setting the wDayOfWeek member to an appropriate weekday, and using a wDay
value in the range 1 through 5 to select the correct day in the month. Using
this notation, the first Sunday in April can be specified, as can the last
Thursday in October (5 is equal to “the last”).
This value is added to the value of the Bias member to form the bias
used during standard time. In most time zones, the value of this member is
zero.
This value is added to the value of the Bias member to form the bias used during daylight time. In most time zones, the value of this member is - 60.
GetTimeZoneInformation, SetTimeZoneInformation, SYSTEMTIME
file: /Techref/os/win/api/win32/struc/src/str21_12.htm, 5KB, , updated: 2000/4/7 11:20, local time: 2024/11/25 04:49,
3.137.159.134:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/struc/src/str21_12.htm"> TIME_ZONE_INFORMATION</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.