IsDate

"-->
 IsDate (string) 

Description

Checks to see if a string can be converted to a date/time value and then returns true or false.

Example

 <cfset exampleValue = "12/13/75">  <cfif  IsDate(exampleValue) >      <cfoutput>#DE(exampleValue)#</cfoutput>      is a valid date.  <cfelse>      <cfoutput>#DE(exampleValue)#</cfoutput>      is not a valid date.  </cfif>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net