GetTimezoneInfo
Retrieves a struct of information about the timezone
Method Signature
Arguments
Argument
Type
Required
Description
Default
timezone
string
false
optional, a specific timezone to retrieve information on
locale
string
false
optional, a specific locale for language output of the timezone name fields
Examples
Output timezone information
This example shows the use of GetTimeZoneInfo
Get Hawaii timezone information in German
Shows the use of getTimeZoneInfo for a known / specific timezone with German locale.
Additional Examples
Related
Last updated
Was this helpful?