Answered
Date Formatting
Hi,
I have recently upgraded to CF2021.
I am having an issue with date formatting.
I have the code below.
& #DateFormat(Now(),'YYYY')#& "_" & #DateFormat(Now(),'MM')# & "_" & #DateFormat(Now(),'DD')
the output is 2021_04_91
But it should be 2021_04_01
It appears to put a 9 instead of a 0
Would anyone might know what would be causing this?
