function retrieves the current time-zone parameters. These parameters control
the translations between Coordinated Universal Time (UTC) and local time.
| LPTIME_ZONE_INFORMATION lpTimeZoneInformation
|// address of time-zone settings
Points 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:
|The operating system cannot determine the current time zone. This is usually
because a previous call to the SetTimeZoneInformation function supplied only the bias (and no transition dates).
|The operating system is operating in the range covered by the StandardDate member of the structure pointed to by the lpTimeZoneInformation parameter.
|The operating system is operating in the range covered by the DaylightDate member of the structure pointed to by the lpTimeZoneInformation parameter.
If the function fails, the return value is 0xFFFFFFFF. To get extended error
information, call GetLastError
All translations between UTC time and local time are based on the following
UTC = local time + bias
The bias is the difference, in minutes, between UTC time and local time.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database