Using Queries of Queries with dates

If you create a query object with the QueryNew function and populate a column with date constants, ColdFusion MX stores the dates as a string inside the query object until a Query of Queries is applied to the query object. When ColdFusion applies a Query of Queries to the query object, it converts the string representations into date objects.

Query of Queries supports date constants in SQL and ODBC format, as follows:

Tip: If you want to convert the date to its original format, use the DateFormat function and apply the "mm/dd/yy" mask.


View comments in LiveDocs