Created
April 19, 2024 13:24
-
-
Save trycf/78ca24229a69a3e8c1b67e292f31212b 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> | |
writedump( server.lucee.version ) | |
dump("parseing against explicit UTC"); | |
dump(label:"2024-04-11T15:28:37 == UTC", var:ParseDateTime(date:'2024-04-11T15:28:37',timezone:"UTC") ); // local TZ | |
dump(label:"2024-04-11T15:28:37.9663866 == UTC", var:ParseDateTime(date:'2024-04-11T15:28:37.9663866',timezone:"UTC") ); // local TZ | |
dump(label:"2024-04-11T15:28:37.9663866Z == UTC", var:ParseDateTime(date:'2024-04-11T15:28:37.9663866Z',timezone:"UTC") ); // UTC TZ (Z=Zulu Time) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment