Created
January 12, 2021 18:40
-
-
Save trycf/6e7d5719d43f3d46b721041c950f2150 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
cfloop(list="current,CET,PST,AGT,CST,UTC", item="tz") { | |
if (tz neq "current"){ | |
SetTimeZone(tz); | |
} | |
writeDump(getTimeZone()); | |
writeDump( Week("{ts '2020-12-27 0:00:00'}")); | |
writeoutput("<hr>"); | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment