Skip to main content

Darren Cook

Member since Jun 30, 2009

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel