Template:Age in years

From blackwiki
Revision as of 05:02, 2 June 2015 by blackwiki>Jonesey95 (Sync from sandbox. Add error checking, check for zero age and display 0 instead of -1-0.)
Jump to navigation Jump to search

2024–2025

Template documentation[view] [edit] [history] [purge]

Usage

{{Age in years|2000}} yields 24–25. {{Age in years|1900|1950}} yields 49–50.

Note that the template provides 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.

See also