Select date range

FlyGuyTray

Registered User.
Local time
Today, 18:33
Joined
Nov 30, 2010
Messages
38
I would like to select items that are 45 days old.. I could count the days and use the ">=" but is there a simpler way?
 
If you want anything 45 days old or newer for your criteria you would use

Between DateAdd("d", -45, Date()) And Date()


for just 45 days

DateAdd("d", -45, Date())


for 45 days and older

<= DateAdd("d", -45, Date())
 
Thanks Bob!
 

Users who are viewing this thread

Back
Top Bottom