Name
hw_GetTimeZone -- get time zone information (V7.1)
Synopsis
int off = hw_GetTimeZone(int *isdst, struct hwTagList *tags);
Function
This function can be used to obtain information about the time zone the host system is in. It will return two values: off will be set to the number of minutes of this computer's time from UTC and isdst will be a boolean value that specifies whether or not daylight saving time is currently active in the host system's time zone. If you don't need daylight saving information, pass NULL in isdst.

Note that off will be negative if the host system is east of UTC and positive if it is west of UTC.

This function is thread-safe.

Designer compatibility
Supported since Designer 5.0

Inputs
isdst
pointer to an int receiving the flag whether or not daylight saving time is active; this can be NULL
tags
reserved for future use; pass NULL
Results
off
offset in minutes from UTC

Show TOC