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