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/dc61c0ba08b57871bfc5adba7a2d5bd7 to your computer and use it in GitHub Desktop.
Save trycf/dc61c0ba08b57871bfc5adba7a2d5bd7 to your computer and use it in GitHub Desktop.
TryCF Gist
<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