LSIsDate

"-->
 LSIsDate (string) 

Description

Checks whether a string is a date/time value that can be formatted in a specific locale format. Returns true if the string can be formatted as a date/time.

Example

 <cfloop index="currentLocale" list="#Server.ColdFusion.SupportedLocales#">  <cfset exampleLocale = SetLocale(currentlocale)>  <cfoutput>   #currentLocale#  Is 8/15/00 date formattable: # LSIsDate (8/15/00)#  Is August 15 2000 date formattable: # LSIsDate (August 15 2000)#  Is 7:30  time formattable: # LSIsDate (7:30)#  Is seven thirty time formattable: # LSIsDate (seven thirty)#  </cfoutput>  </cfloop>  


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