How to convert a birthdate to age using a query

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

Guest

Is it possible to build a query that converts a birthdate to current age?
Access 2000

Thanks.
 
Age: DateDiff("yyyy",[DOB],DAte()) -
IIF(Format([DOB],"mmdd")>Format(Date()."mmdd"),1,0)
 

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