Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Age in years and days/doc

Template page
Revision as of 13:02, 11 December 2025 by imported>RedX
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header

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:

See also