GetTimeZoneInfo()
Returns a structure representing the current timezone;
utctotaloffset, utchouroffset, utcminuteoffset, isdston.
GetTimeZoneInfo( timezone=timezone, locale=locale );
Returns: Struct
Argument | Description |
---|---|
timezone
timezone,
optional
|
the timezone to get the data from. Introduced: 5.0.0.0 |
locale
locale,
optional
|
locale used to format the output. Introduced: 5.0.0.0 |
Examples
dump(GetTimeZoneInfo());
See also
- Date and time
- GetTimeZone()
- SetTimeZone()
- timezone.info()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)