Template:Age in years, months and days/doc

This template returns the number of full years, then surplus months, then surplus days between two specified dates. If the second set of parameters is not included, it will return the number of years, months and days between a specified date and today's date. The years and months are separated by a comma; since serial commas are optional and use varies, this template does not automatically place a comma after month. The words "year", "month" and "day" are plural when appropriate. See Age calculation templates for more information on using this kind of template.

Syntax

 * or

Examples

 * returns "24 years, 7 months, 3 days"
 * returns "7 years, 7 months, 24 days"
 * returns "1 month, 2 days"