Template:MC/Age in years and days/doc
Template page
More actions
Usage
This template returns the number of years and days between two dates. If the second set of parameters is not included it will automatically calculate the years and days between a given date and today.
To use, type:
- {{age in years and days|year1|month1|day1|year2|month2|day2|delimiter=(optional delimiter)|short=(true)}} or
- {{age in years and days|year1|month1|day1|delimiter=(optional delimiter)|short=(true)}}
Examples:
- {{age in years and days|2000|6|20|2007|9|12}} gives Template:Age in years and days
- {{age in years and days|1990|1|25|delimiter=,|short=yes}} gives Template:Age in years and days
See also