Thanks for the reply.
Its for displaying the slots booked in a table, I can loop
through the hours easily enough, Its the15 minutes intervals I'm
stuck with.
<cfloop from="0" to="23" index="i">
<cfset indexdate = createDatetime(year(currentdate),
month(currentdate), day(currentdate),i,0,0)>
<tr>
<td>#i#</td>
<td>
<cfif (myarray[ArrayLen(myarray)][3] lte indexdate and
myarray[ArrayLen(myarray)][4] gte
indexdate><h3>booked</h3>
</cfif></td>
</tr>
</cfloop>