Returns the time zone for the current request.
getTimeZone()
→ returns string
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.