date.timeZoneToString
| Syntax |
date.timeZoneToString (tz=date.getCurrentTimeZone ())
|
| Params |
tz is a number between -43200 and 43200, a result returned from date.getCurrentTimeZone. The timezone of the machine is the default value for tz.
|
| Action |
Returns a string that corresponds to the timezone.
|
| Returns |
A timezone string.
|
| Examples |
date.timeZoneToString () » "Pacific"
date.timeZoneToString (-8 * 3600)
date.timeZoneToString (3 * 3600)
date.timeZoneToString ((3 * 3600) + 1800)
|
| Errors |
If the number is not between -43200 and 43200, a scriptError is thrown.
|
| Notes |
Defaults are in English, but if you want to use a different language, change the values at user.prefs.dates.timeZones. The state of this verb is "unfinished" -- we need to review the default strings. I posted a note on the Frontier discussion group asking for guidance. DW
|
| See Also |
date.dayOfWeekToString
|