todays date

  • Thread starter Thread starter rml
  • Start date Start date
R

rml

I'm trying to run a query based on todays date. What is
the syntax for today in the criteria line.

Thanks.
 
Date() should work, unless your date field contains both date and time data,
as when filled using the Now() function. If that is the case, you should
use:

BETWEEN Date() AND DateAdd("d", 1, Date())

Or, you could use the DateValue() function to convert your date/time field
to contain just the date portion and use Date() in the criteria link.

HTH
Dale
 

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

Back
Top