Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/da75d9ab742a7f748fc84f1295280e85 to your computer and use it in GitHub Desktop.
Save trycf/da75d9ab742a7f748fc84f1295280e85 to your computer and use it in GitHub Desktop.
TryCF Gist
<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