GetLocalizedDatetimeStrings (open)
Get a string with date and time formatting components for use with FormatDateTime
Syntax
LOADLIB "wh::util/localization.whlib";
STRING FUNCTION GetLocalizedDatetimeStrings(STRING locale)
Parameters
STRING locale
The language or locale to use (e.g. 'en', 'en-GB', 'nl' or 'zh-Hans-CN')
Return value
STRING
Semicolon separated date and time language strings for the requested language or locale
Description
This function returns a string containing language strings to be used for formatting dates and times. It can be used as the third parameter of FormatDateTime. It is functional equivalent to GetLanguageDatetimeStrings, however some of the returned texts differ slightly.