Loop with time
Posted on 2001-06-11
hai, I need a loop function that use "time" as a counter.
eg. it will show as follow:
start from 10:00
how to make this function??
i have an example, but cannot work:
<cfset timeform = CreateTime(10,00,00)>
<cfset time= #TimeFormat(timeform, 'hh:mm')#>
<CFLOOP CONDITION="time less than or equal to '20:00'">
<cfset addedvar =#TimeFormat(dateadd('n',30,time), 'hh:mm')#>
<cfset time = addedvar>