Skip to content

Instantly share code, notes, and snippets.

@evagoras
Created September 28, 2023 16:12
Show Gist options
  • Save evagoras/dfea9d9ffbc923db216defc7d5550885 to your computer and use it in GitHub Desktop.
Save evagoras/dfea9d9ffbc923db216defc7d5550885 to your computer and use it in GitHub Desktop.
Clarifying the use of the DateFormat ‘D’ mask for ACF2021+
<cfscript>
writeOutput( dateFormat( createDate( "2023", "01", "01" ), "YYYY-MM-DD" ) );
</cfscript>
"jvm":{
"args":[
"-Dcoldfusion.datemask.useDasdayofmonth=true"
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment