You don't need the dateformat(). Just use the CreateODBCDateTime or the
cfqueryparam. 

-----Original Message-----
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 25 June 2005 10:11 
To: CF-Newbie
Subject: RE: Need help - deadline 5pm

I did a search on it and came up with this

#DateFormat(CreateODBCDate(yourDate), "mmmm d, yyyy")#


Will it work for me?





>Use CreateODBCDate() or use CFQUERYPARAM with the cf_sql_date datatype.
>
>-----Original Message-----
>From: Torrent Girl [mailto:[EMAIL PROTECTED]
>Sent: Saturday, 25 June 2005 9:49
>To: CF-Newbie
>Subject: RE: Need help - deadline 5pm
>
>The datatype is 'datetime'
>
>What format will work with this?
>
>
>>You can't just insert #Now()# into a date column. You'll need to work 
>>with the date format the DB expects.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
 Save $10 Download ZoneAlarm Security Suite 
http://www.houseoffusion.com/banners/view.cfm?bannerid=66

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1240
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to