<!--- first action prior to the time delay --->
Here is your action prior to the time delay<br>
<!--- initialize the start time --->
<CFSET startTime = timeFormat(now(), "hh:mm:ss")>
<!--- initialize the end time --->
<CFSET endTime = dateAdd("s", 15, startTime)>
<!--- start the loop that will increment the time for 15 seconds --->
<CFLOOP condition="startTime lte endTime">
<!--- increment the startTime until it is equal to the end time --->
<CFSET startTime = timeFormat(now(), "hh:mm:ss")>
</CFLOOP>
<!--- second action after the time delay --->
Here is your action after the time delay.
|