> Is there equivalent to isdate() for time? How could you
> check if a date was
> a date/time object or just a date?

apparently isdate will check for time values also:

<cfoutput>#IsDate("10:15 pm")#</cfoutput>

What it won't do is tell you if a value is _just_ a time value ( no date )
.. Although if isdate() returns true, you can use timeformat() to remove
any date part which might be present... I wrote a user defined function
using a regular expression a while back called isTime() and someone on the
list pointed this out to me. :)

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to