Darren Cook
Member since Jun 30, 2009
- Profile: /members/3706-darren-cook.htm
- Comments: 1
Recent Blog Comments By Darren Cook
-
Using CFLoop To Loop Over ColdFusion Dates
Posted on Jun 30, 2009 at 11:07 AM
To follow up on Everett's idea, of course it's using cfscript which limits what you can do inside the loop, right? Wrong...just write a cffunction and call it from within the loop like so: <cfscript> ...etc... for(ii = startDate; DateCompare(ii, endDate) <=0; ii = DateAdd('yyyy',1,ii)) { r... read more »