Skip to main content

Alan Errichiello

Member since Jun 1, 2011

Recent Blog Comments By Alan Errichiello

  • Looping Over Times In ColdFusion

    Posted on Jun 1, 2011 at 3:57 PM

    @Ben, Yeah man, so thanks again. Shout out to my buddy Mark who also helped out!... read more »

  • Looping Over Times In ColdFusion

    Posted on Jun 1, 2011 at 3:48 PM

    Yes, but you got me thinking about how to "add time" to days, so to speak. Here is what I ended up doing: <cfset theDate = #form.startDate#> <cfset theHour = #form.hour#>   <cfset dtHour = CreateTimeSpan( 0, 1, 0, 0 ) />   <cfset shiftLength=8> <cfset shiftD... read more »

  • Looping Over Times In ColdFusion

    Posted on Jun 1, 2011 at 2:35 PM

    Thanks Ben - your example reminded me to use military time which pretty much solves the issue.... read more »

  • Looping Over Times In ColdFusion

    Posted on Jun 1, 2011 at 9:20 AM

    Hey guys, thanks for the examples. I'm having issues displaying times from 8pm to 4am (see code below). If you copy+paste that, nothing displays. Any help is appreciated. <cfset dtHour = CreateTimeSpan( 0, 1, 0, 0 ) /> <cfloop index="EdtTime" from="8:00 PM" to=&qu... 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