Show number of days in query table instead of year.

jessicatran

New member
Local time
Today, 04:44
Joined
Jun 20, 2007
Messages
5
Hi,

In the query table... the expression is:
Age: DateDiff("yyyy",[DateOfBirth],Date())+(Format(Date(),"mmdd")<Format([DateOfBirth],"mmdd"))

This only output the number of year.

How can I write to output number of days?

Thanks,
Jessica
 

Attachments

Use the DateDiff function in the query

DaysOld: DateDiff("d",[YourDateFieldHere],Date())
 
Wow.. that was easy... thanks.

Jessica
 

Users who are viewing this thread

Back
Top Bottom