GetSystemTimeZoneID (open)

Get the time zone name that is currently in use by the system

Syntax

LOADLIB "wh::util/localization.whlib";

STRING FUNCTION GetSystemTimeZoneID()

Return value

STRING

The system time zone name

Examples

// Returns "Europe/Amsterdam" for systems set up to use local time in the Netherlands
STRING timezone := GetSystemTimeZoneID();