thank you, perfect!

brain fart this morning prevented my brain going past the first loop :(

anyway, good day!

cheers
tw

On Tue, 10 Aug 2004 17:47:19 +0200, Pascal Peters <[EMAIL PROTECTED]> wrote:
> <cfset t = CreateTime(0,0,0)>
> <cfset end = DateAdd("d",1,t)>
> <cfset step = 15>
> <select>
>        <cfloop condition="DateCompare(t,end) LT 0">
>        <option value="#TimeFormat(t,'HH:mm:ss')#">#TimeFormat(t,'hh:mm
> tt')#</option>
>        <cfset t = DateAdd("n",step,t)>
>        </cfloop>
> </select>
> </cfoutput>
>
> Pascal
>
> > -----Original Message-----
> > From: Tony Weeg [mailto:[EMAIL PROTECTED]
> > Sent: 10 August 2004 17:30
> > To: CF-Talk
> > Subject: dynamic time picker
> >
> > hi all!
> >
> > i need to make a
> >
> > <select>
> >     <option value="00:00:00">12:00 am
> >     <option value="00:15:00">12:15 am
> > </select>
> >
> > that has all the times from midnight to 11:45 pm and not have to hand
> > type them all...how would you do it? is this already done, and i can
> > dl it? if not, ill hand type them all and then have that for future
> > use, but im SURE someone has done this?
> >
> > thanks
> >
> > --
> > tony
> >
> > Tony Weeg
> > human.
> > email: tonyweeg [at] gmail [dot] com
> > blog: http://www.revolutionwebdesign.com/blog/
> >
> > Check out http://www.antiwrap.com to send websites to your friends.
> >
> >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to