formula to calculate age from date of birth

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone help with above. I have got DOB but want to work out their age.
 
Hi,
The Datediff function should be able to figure out the age up to day.

Datediff("yyyy", DOB, Now())
 
That does not work. It does not take into account if the birthdate has
passed this year, or is coming up.

You would use...


DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd")>Format(Date(
),"mmdd"))

Please note: This question is asked in this newsgroup often. In the
future, you might try doing a search before posting your question.



Rick B









Hi,
The Datediff function should be able to figure out the age up to day.

Datediff("yyyy", DOB, Now())
age.
 

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