At 01:57 PM 6/27/2002 -0300, you wrote:
>At 12:45 PM 6/27/02 -0400, Jeffry Houser wrote:
> >   I'm not sure what makes a variable "good" in this case, but if you offer
> >more information, perhaps I can offer more information.
>
>I'm checking the value of a date to make sure it's legal.  (I've had no end
>of problems with the date parsing side of CFINPUT so I'm figured I'd do it
>myself.)

  I do worry that you are re-inventing the wheel.  Have you looked at the 
IsDate or LSIsDate function?
  I'm not sure if ColdFusion has a specific way to compare against a given 
mask, though, but if your intent is to turn it into an ODBC date, the given 
mask doesn't matter if you use the CreateODBCDate function.


--
Jeffry Houser | mailto:[EMAIL PROTECTED]
Need a Web Developer?  Contact me!
AIM: Reboog711  | Phone: 1-203-379-0773
--
My CFMX Book: 
<http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20>
My Books: http://www.instantcoldfusion.com
My Band: http://www.farcryfly.com 

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to