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

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub