>Absolutely right, good way to be sure of that is to use DateDiff() as it >specifically compares the date unit you want which is days in this case: > .. >Don't have to fiddle with the dates that way.
True, but functions can mess with the indexes. For that reason I usually use CreateODBCDate with WHERE ColumnName >= #StartDate# AND ColumnName < #TheDay_AFTER_TheEndDate# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

