> writing to a datetime field
Then don't insert a string, insert a valid date/time object.
The now() function returns a date/time object. Just add a
cfqueryparam:
<cfqueryparam value="#now()#"
cfsqltype="cf_sql_timestamp">
> The problem is the "minutes" take on the "month" value
(because I'm using the letter "m" in both places
If you check the documentation, DateFormat only handles the
date portion. To format the time portion, you need to use
TimeFormat.