New in package 168
Syntax
var timezones = Time.timezones.toArray();
Description
Represents a time zone.
Properties
Property | Type | Description |
---|---|---|
id | String | the time zone identifier. |
name | String | the localized general display name that represents the time zone. |
shortName | String | the time zone short name, e.g. DST, EST. |
utcOffset | Number |
Methods
Method | Returns | Description |
---|---|---|
[convert]( dateObject, targetTz ) | Date object | converts the value of the date object from this time zone to the destination time zone. |