Template:Age in years and months
This template uses Lua: |
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. |
---|---|