Template:AgeYMD/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 words "year", "month" and "day" are plural when appropriate.

The years and months are separated by a comma. Since and use varies, this template does not automatically place a comma after the months. If a serial comma is desired, adding sc=y to the template invocation will include one.

See for more information on using this kind of template.

Usage

 * or

Examples

 * returns ""
 * returns ""
 * returns ""