Retrieves information about timezones.
ATimeZones(cArrayName)
Parameters
- cArrayName
On return the array contains information from the following registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones". See also the description for the TIME_ZONE_INFORMATION structure. Column Content 1 Generic name 2 Timezone display name 3 Standard timezone name 4 Daylight saving timezone name 5 Bias: The bias for time translation in minutes. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time.
All translations between UTC and local time are based on the following formula: UTC = local time + bias6 StandardBias: The bias value to be used during local time translations that occur during standard time.
This member is ignored if a value for the StandardDate member is not supplied.
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.7 DayligthBias: The bias value to be used during local time translations that occur during daylight saving time.
This member is ignored if a value for the DaylightDate member is not supplied.
This value is added to the value of the Bias member to form the bias used during daylight saving time. In most time zones, the value of this member is –60.StandardDate: The date and local time when the transition from daylight saving time to standard time occurs on this operating system. 8 Month of StandardDate 9 Day of StandardDate 10 DayOfWeek of StandardDate 11 Hour of StandardDate DaylightDate: The date and local time when the transition from standard time to daylight saving time occurs on this operating system. 12 Month of DaylightDate 13 Day of DaylightDate 14 DayOfWeek of DaylightDate 15 Hour of DaylightDate
Return Value
The number of time zones.
See Also
Reference
Double2DT
DT2Double
DT2FT
DT2ST
DT2Timet
DT2UTC
FT2DT
GetSystemTime
SetSystemTime
ST2DT
Timet2DT
UTC2DT
Used WinApi functions
RegOpenKeyEx
RegQueryInfoKey
RegEnumKeyEx
RegQueryValueEx
RegCloseKey