GetTimeZoneInformation
GetTimeZoneInformation is a function in the Windows API that retrieves information about the current time zone. This information includes the time zone name, the bias (difference between local time and Coordinated Universal Time, or UTC), the standard name, the daylight saving name, and the date and time when daylight saving time starts and ends.
The function returns a TIME_ZONE_INFORMATION structure that contains these details. The bias is expressed in minutes
Applications can use GetTimeZoneInformation to perform various time-related operations, such as converting local time to UTC