getTimeZone

Returns the time zone for the current request.

getTimeZone() → returns string

Examples
Sample code invoking the getTimeZone function

Set the time zone, then retrieve it.

setTimeZone("Etc/UTC");
writeOutput(getTimeZone().timezone);

Expected Result: 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