GetAvailableTimeZoneNames (open)
Get a list of available time zones names for time zone conversion
Syntax
LOADLIB "wh::util/localization.whlib";
STRING ARRAY FUNCTION GetAvailableTimeZoneNames(STRING locale)Parameters
STRING localeThe language or locale to use (e.g. 'en', 'en-GB', 'nl' or 'zh-Hans-CN')
Return value
STRING ARRAYA list of time zone names
Description
This function returns a list of time zone names, which can be used to convert times using UTCToLocal and LocalToUTC.