Created
July 26, 2022 04:24
-
-
Save trycf/ecd728047eae272a6af33dafa1e2639b 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> | |
data = [:]; | |
data['source'] = parseDateTime('2022-07-25 20:40:15.352661',"yyyy-mm-dd HH:nn:ss"); | |
data['local'] = dateFormat( data.source, "yyyy-mm-dd" ) & " " & timeFormat( data.source, "HH:nn:ss" ); | |
dump( data ); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment