Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to calculate age

Access Howto:

How to calculate age

by  jgarnick  Posted    (Edited  )
I use this expression to calculate a person's age "today" or at the time of their death.

IIf(IsNull([date_death]),Fix(((Now()-[date_birth])/365.25)),Fix((([date_death]-[date_birth])/365.25)))
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top