if you are saving to a database, try using createODBCDateTime( function
gdemaria
most databases have a date function built in, so if you just want to put the current date/time into the database, the easiest way is just do it in the datatbase's language.
For example, if you're using SQL Server just say
update mytable
set theDateColumn = getDate()
where .... ^^^^ gives the date and time
If you need to do it in coldfusion for some reason do it like this..
update mytable
set theDateColumn = #createODBCdateTime(now())#
or if using a function parameter...
update mytable
set theDateColumn = #createODBCdateTime(arguments.actiondttm)#
skb73
ASKER
My bad ! Now() did it and I useed CF_SQLTYPE_TIMESTAMP to save it as date/time