Lucee Function Reference
gettimezoneinfo()
Returns back a structure regarding the current timezone; isDSTon, DSTOffset, id, timezone, name, shortName, nameDST, shortNameDST, utcHourOffset, offset, utcTotalOffset, utcMinuteOffset
Example
gettimezoneinfo([timezone timezone,[locale locale]]):struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
timezone | timezone | No |
the timezone to get the data from.
Introduced: 5.0.0.0 |
locale | locale | No |
locale used to format the output.
Introduced: 5.0.0.0 |