Template:Age/doc

This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.


 * Syntax :
 * year1 or
 * year1


 * Examples :
 * 2000 returns "21"
 * 2000 returns "24"


 * When using this template to calculate an age with a known end date, please substitute it into the page.
 * Example:  to return "2"


 * Note :
 * This template does not check for incorrect input:
 * 2000 returns "0" (surplus days do not count as extra months)
 * 2000 returns "0" (surplus months do not count as extra years)