This template returns the number of years that have elapsed between two dates.
A hidden sort key is included so values produced by this template will work properly in sortable tables. The sort key is calculated from the number of days between the given dates, and is compatible with {{number table sorting}}.
{{Age in years nts|2000}} yields 23–24.
{{Age in years nts|1900|1950}} yields 49–50.
Note that the template can provide an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.
Combines functions of {{Birth date}}, {{birth-date}}, {{birth date and age}}, {{birth year and age}}, {{death date}}, {{death-date}}, {{death date and age}}, and {{death year and age}}.
To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person), only works for living people.
To display approximate birth year and current age given several particular dates (e.g. when a dated reference mentions the age of a person), only works for living people.