Created
December 17, 2019 16:19
-
-
Save trycf/e5c20458bbf2b9f45bf0a5111fb0dbff to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
startDate = createDate(2018,08,01); | |
dump(startDate); | |
loop from=startdate to=now() index="thisDate" { | |
if (day(thisDate) == 1) { | |
dump(dateformat(thisDate, 'yyyy-mm-dd')); | |
} | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment