Just FIX the date: #Fix( your_date )# will convert the date to a float, and then cut off the hour/min/seconds... Then the CFQueryParam tag will convert the float back into a date/time object.
<cfqueryparam value="#Fix( Now() )#" cfsqltype="CF_SQL_TIMESTAMP" /> This will give you todays date with NO time. ...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:04 AM To: CF-Talk Subject: RE: date compare Thanks. Is there a CF command for that? Is it createobdc? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4