Determines whether a value is a date/time object.
The difference between IsDateObject and IsDate is that isDate returns true for date/time objects as well as date/time strings.
True, if the value is a ColdFusion date/time object; False if the value is any other type of data, such as an integer, string, or struct. ColdFusion converts the Boolean return value to its string equivalent, "Yes" or "No."
- ColdFusion (2018 release): Changed parameter name value to dateobject.
- ColdFusion (2016 release) Update 3: Added the function.
<cfscript> date = IsDateObject(now()); writeOutput("Can string be converted to a date/time value : " & date); </cfscript>