Retrieving Time-Zone InformationLast reviewed: September 25, 1995Article ID: Q115231 |
The information in this article applies to:
In Windows NT, version 3.1, the time-zone strings are compiled into a resource that is linked into the CONTROL.EXE file. For Windows NT, version 3.5 and later and Windows 95, the time-zone strings have been moved into the registry. In Windows NT, the time-zone strings are located in the key:
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Time Zones.In Windows 95, the time-zone strings are located in the key:
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Time Zones.For each time zone, the registry key TZI is formatted as follows:
LONG Bias; LONG StandardBias; LONG DaylightBias; SYSTEMTIME StandardDate; SYSTEMTIME DaylightDate;You can use this information to fill out a TIME_ZONE_INFORMATION structure, which is used when calling SetTimeZoneInformation().
|
Additional reference words: 3.50 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |