>- see footer for list info -<
Would IsDate() work? Try seeing what a date with a messed up time portion
does.

If it does work, fake the date and the time will get checked.

<cfif IsDate("01/01/2000 " & YourDateVariableHere)>

Failing that, checking for a valid time should be fairly straight forward.

Or, go see www.cflib.org

Ade

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Swingewood
Sent: 28 September 2005 12:08
To: [email protected]
Subject: [CF-Dev] time


>- see footer for list info -<
Hello again....

Is there an  'istime(#variable#)'   function in coldfusion?

I just want to check that the user has entered a valid time on the form
rather than (fghjjgj) or some other rubbish. At present the code crashes if
the user does this ....

Regards - Paul

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to