LSIsDate (string) DescriptionChecks 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> |