Minus today

G

Guest

I just want to count the number of days since a record was received..
Could anyone please help me plug in todays date.
This is an example of wht I tried, everything except the last -[Date()]
works fine?


Days: IIf([DateREC] Is Null,Null,[DateREC]-[Date()])


Thanks
 
G

Guest

Try

Days: DateDiff("d",[DateREC] , Date())

Also, the Date() doesn't need to be in square brackets
 
G

Guest

Excellent, thank you...

Ofer Cohen said:
Try

Days: DateDiff("d",[DateREC] , Date())

Also, the Date() doesn't need to be in square brackets

--
Good Luck
BS"D


Dan @BCBS said:
I just want to count the number of days since a record was received..
Could anyone please help me plug in todays date.
This is an example of wht I tried, everything except the last -[Date()]
works fine?


Days: IIf([DateREC] Is Null,Null,[DateREC]-[Date()])


Thanks
 

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