date and datetime types with cfqueryparam
How do you get a date and a datetime type into a table with cfqueryparam ?
For date I have tried <cfqueryparam value=#createodbcdate(thedate)# cfsqltype="CF_SQL_DATE" maxlength="23" null="yes"> and got NULL in the table.
For time I tried <cfqueryparam value=#now()# cfsqltype="CF_SQL_TIME" maxlength="23" null="yes"> but the date part of the datetime value was 1970-01-01.
In the table, types for these columns are datetime.
