If you are using MS SQL... SELECT CAST(FLOOR(CAST(GETDATE() AS float)) AS datetime)
This will remove any time part from a datetime field. Mike -----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 8:32 AM To: cf-talk Subject: Re: SQL between dates problem >Because GETDATE() will return the current date *and time* and I'll bet >that your start/end dates are coming back as 12/1/2008 12:00 AM. > Ahhh yes! That makes sense. Thanks John! Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316062 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

