Luis Lebron wrote:
> I have an Access table with a Date/Time field. I have tried to insert the
> current date in a variety of different ways but I always end up getting an
> error. This is the last thing that I tried #DateFormat(NOW(),
> 'yyyy/mm/dd')#. Any ideas?

<cfquery ...>
INSERT INTO table (field)
VALUES (<cfqueryparam cfsqltype="cf_sql_timestamp" value="#Now()#">)
</cfquery>

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to