ClearTimezone

Clears the current timezone in the request

Method Signature

ClearTimezone()

Arguments

This function does not accept any arguments

Examples

Clear the timezone

Set the timezone and then clear it.

Run Example

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

Result: CET→ Etc/UTC

Last updated

Was this helpful?