Created
January 12, 2021 18:44
-
-
Save trycf/da75d9ab742a7f748fc84f1295280e85 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'}") & "<br>"); | |
writeDump( LsWeek("{ts '2020-12-27 0:00:00'}") & "<br>"); | |
writeoutput("<hr>"); | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment