Having headache day again. Need to make some changes to some things and populate available stuff first. Basically from when something is open till it closes. And add available spots every 15 minutes.
I can get the start date and end date populating - but can't get the inside loop populating the increment times that need to be inserted... Little lost here... Any help is appreciated...
Start Date and End Date come from a cfform - works fine...
Start Date:<br>
<cfinput type="datefield" name="startDate" required="true" message="Start Date Required">
<br><br>
End Date:<br>
<cfinput type="datefield" name="EndDate" required="true" message="End Date Required">
<cfloop index="dtToday" from="#StartDate#" to="#EndDate#">
<cfoutput>
<br>#DateFormat(dttoday)#<br>
<cfloop index="incr" from="#TimeFormat(sadd.topen)#" to="#TimeFormat(sadd.tclose)#" step="#CreateTimeSpan( 0, 0, sadd.increment, 0 )#">
[#TimeFormat(incr)#]
Do Database Insert of Date/Time at increments
</cfloop>
<cfset schdate = #DateAdd('d', 1, '#schdate#')#>
</cfoutput>
</cfloop>