Template:Age in years and months/doc

From IxWiki
Revision as of 12:50, 23 June 2020 by >Ahecht ({{shortcut|Template:Age ym}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today's date.

Syntax

{{age in years and months |year1|month1|day1 |year2|month2|day2}}
{{age in years and months |year1|month1|day1}}  (causing the current date to be used as the second date)

Examples

Markup Renders asScript error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.Script error: The function "format" does not exist.