calculating age in a report

  • Thread starter Thread starter Lianne Wendt
  • Start date Start date
L

Lianne Wendt

Guest
I would like to calculate age of my clients from my table in a report that includes their name and date of birth. I am having trouble figuring out the formula to put in the text box to do it. Can anyone help.

Thanks
 
Use the function DateDiff()

e.g.
DateDiff("d",[Birthday],Date())

Date() returns todays' date.
 
Last edited:
Try looking at the "DateDiff" funciton in the help menu. I think you will find what you are looking for.

Good luck,
Keith
 
from a search of THIS forum:

Age: DateDiff("yyyy", [DOB], Date()) + (Date() < DateSerial(Year(Date()), Month([DOB]), Day([DOB])))
 

Users who are viewing this thread

Back
Top Bottom