6 months ago

V

Van T. Dinh

SELECT *
FROM YourTable
WHERE [DateField] BETWEEN DateAdd("m", -6, Date()) AND Date()
 
D

Dan Artuso

Hi,
Use the DateSerial function.
6 months ago would be:
DateSerial(Year(Date()),Month(Date()) - 6,Day(Date()))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top