Can someone explain why getting the week of this date returns 1 instead of 53? And how do I get coldfusion to return 53 for this date?
<cfscript>
Date1 = "{ts '2019-12-30 12:00:00'}";
dateformat= DateFormat(Date1)
week= DateFormat(Date1,"ww")
writeOutput("Week: " & week & "<br/>")
</cfscript>
See the coldfusion fiddle: https://cffiddle.org/app/file?filepath=ab0d50c0-d268-4769-b5eb-a16a8fca985a/dc6aebb2-76a8-4485-a5eb-e9eb17b293cb/9e6e8b2c-f570-45be-88a1-49db39f8c69b.cfm