clearTimeZone

Clears the timezone that was set.

clearTimeZone() → returns void

Links more information about clearTimeZone

Examples
Sample code invoking the clearTimeZone function

Set the timezone and then clear it.

setTimeZone("CET");
writeOutput(getTimezoneInfo().timezone & "→ ");
clearTimeZone();
writeOutput(getTimezoneInfo().timezone);

Expected Result: CET→ Etc/UTC


Fork me on GitHub