Group: Time - Library: kernel32
Retrieves the current time-zone parameters. These parameters control the translations between Coordinated Universal Time (UTC) and local time.
Retrieving information specific to the current Time Zone
DWORD GetTimeZoneInformation(
LPTIME_ZONE_INFORMATION lpTimeZoneInformation // time zone
); DECLARE INTEGER GetTimeZoneInformation IN kernel32;
STRING @ lpTimeZoneInformation lpTimeZoneInformation [out] Pointer to a TIME_ZONE_INFORMATION structure to receive the current time-zone parameters.
If the function succeeds, the return value is one of the following values: #DEFINE TIME_ZONE_ID_UNKNOWN 0 #DEFINE TIME_ZONE_ID_STANDARD 1 #DEFINE TIME_ZONE_ID_DAYLIGHT 2
This registry key contains attributes for all Time Zones.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
Home