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 locale

The language or locale to use (e.g. 'en', 'en-GB', 'nl' or 'zh-Hans-CN')

Return value

STRING ARRAY

A 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.