Need to loop from a start date until an end date by a specified time span.
Solution
We use the cfloop tag with both dates and set the step property to our specified time span (15 minutes). The code inside the loop will be executed for each interval between the start date and end date.
Detailed explanation
<!--- Set the start date to the current date and time
--->
<cfset startDate = now()/>
<!--- Set the end date to two hours ahead of the current
date and time --->
<cfset endDate = dateAdd("h", 2, startDate)/>
<!--- Loop over the time between start date and end date
for each interval specified --->