timeZone
timeZone returns the time zone for a time zone name, or the default time zone if no name is provided.
Syntax
timeZone()
timeZone(timeZone)
Parameters
| Parameter | Type | Description |
|---|---|---|
| timeZone | string | The time zone name. |
Returns
The corresponding time zone.
Examples
println timeZone()
println timeZone("ET")