Created
August 21, 2022 16:50
-
-
Save trycf/dc61c0ba08b57871bfc5adba7a2d5bd7 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> | |
timestamp = 1661100546000; | |
instant = createObject("java", "java.time.Instant").ofEpochMilli(timestamp); | |
date_time = createObject("java", "java.util.Date").from( instant ); | |
result = dateTimeFormat( date_time, 'full' ); | |
writeDump(result); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment