Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/01336777d27537814bebd7027295e2c2 to your computer and use it in GitHub Desktop.
Save trycf/01336777d27537814bebd7027295e2c2 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
todayDate = createDate(2025, 05, 18);
writeoutput( "date: #dateFormat(todayDate, "ddd")#<br>" );
writeoutput( "weekday: #datePart("w", todayDate)#" );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment