Mega Code Archive

 
Categories / Delphi / API
 

Using gettimezoneinformation[] function

Question: What are the constants for the return values for the Windows API function GetTimeZoneInformation()? Answer: The following defines the return values for the GetTimeZoneInformation() function. const TIME_ZONE_ID_UNKNOWN = 0; const TIME_ZONE_ID_STANDARD = 1; const TIME_ZONE_ID_DAYLIGHT = 2;