Tony Gray
Member since Oct 24, 2013
- Profile: /members/11362-tony-gray.htm
- Comments: 2
Recent Blog Comments By Tony Gray
-
ColdFusion CreateTimeSpan() And CFLoop (via Ray Camden)
Posted on Oct 24, 2013 at 8:50 PM
p.s If you want to start the week on Monday instead of Sunday change the starting creatTimespan integer to 2 e.g from="#createTimespan(2,0,0,0)#" to="#createTimespan(8,0,0,0)#"... read more »
-
ColdFusion CreateTimeSpan() And CFLoop (via Ray Camden)
Posted on Oct 24, 2013 at 8:39 PM
Ben, thanks for this, I know it is pretty old but I found it very useful today! I also needed a way to create a list of days. I don't know if this has been mentioned before but I found this to work for days: <cfset i=0> <cfloop index="day" from="#createTimespan(1,0,0,0)#... read more »