Calculate the age based on the date of birth.
# How to calculate age
The easiest way is to subtract the year of birth from the current year.
For example, year of birth is 1999, current year is 2021. Subtract 1999 from 2021, in result we'll recieve age, which is: 22.