Created
January 28, 2019 16:59
-
-
Save trycf/c1495eabc06f407ed342333cd44adec7 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> | |
str = "20190126175631"; | |
utcDate = parseDateTime(str, "yyyyMMddHHnnss"); | |
localDate = DateConvert("utc2Local", utcDate); | |
writeOutput("utcDate ="& utcDate &" localDate = "& localDate); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment