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(getTimeZone().timezone)&"→ ");
clearTimeZone();
writeOutput(getTimezoneInfo().timezone);

Expected Result: Etc/UTC→ CET


Fork me on GitHub