Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/4262c6c91cd29150cb42758e6c66409e to your computer and use it in GitHub Desktop.

Select an option

Save trycf/4262c6c91cd29150cb42758e6c66409e to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
x = createDateTime( 2026, 03, 20, 17, 23, 00 );
writeDump( TimeFormat( x,'HH-nn' ) ); // 17-23
writeDump( TimeFormat( x,'HH:nn' ) ); // 17:23
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment