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)
 
Back
Top