getTimeZone (XSPContext - JavaScript™)
Gets the current time zone.
Defined in
XSPContext (JavaScript)Syntax
getTimeZone() : TimeZone
Return value | Description |
---|---|
TimeZone |
The time zone. |
Examples
This computed field gets information from the time zone for the current context.return context.getTimeZone().getID()