Evaluates whether a real number is a valid representation of a
date (date/time object).
Same as isValid("date", date)
isNumericDate(number)
→ returns boolean
To determine whether a string can be converted to a date/time value.
<cfset Date = isNumericDate(now()) >
<cfoutput>#Date#</cfoutput>
Expected Result: Yes
To determine whether a string can be converted to a date/time value.
<cfset result = isNumericDate("Monday")>
<cfoutput>#result#</cfoutput>
Expected Result: No
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.