Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Age in years nts





Template  

Talk  



Language  

Watch  

Edit  





0

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}}.

Usage

edit

{{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.


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Age_in_years_nts&oldid=828044053"
 



Last edited on 28 February 2018, at 06:31  


Languages

 


العربية



Português
Српски / srpski
 

Wikipedia


This page was last edited on 28 February 2018, at 06:31 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop