Perfect! Thanks very much.
Dave
At 08:51 1/15/2003 +0000, you wrote:
Here's a quickie, you can prob make it better, but I haven't had coffee or a
fag yet.
<select name="time">
<cfset thetime = createtime("00","00","00")>
<cfloop from="0" to="23" index="i">
<cfset mins = i * 30>
<cfset optiontime = dateadd("n", mins, thetime)>
<cfoutput><option value="#timeformat(optiontime,
'HH:mm:ss')#">#timeformat(optiontime, "h:mmtt")#</option>
</cfoutput>
</cfloop>
</select>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]