No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{# | <includeonly><onlyinclude>{{#invoke:age|age_generic|template=age_m}}</onlyinclude></includeonly> | ||
Latest revision as of 15:33, 6 May 2025
This template returns the number of full months between two dates, or between a specified date and today (UTC).
Usage
{{AgeM|year1|month1|day1|year2|month2|day2}}{{AgeM|year1|month1|day1}}{{AgeM|date1}}{{AgeM|date1|date2}}
Examples
- {{AgeM|1970|7|23|2003|7|14}} → 395
- {{AgeM|1989|7|23}} → 442
- {{AgeM|23 July 1989}} → 442
- {{AgeM|Template:Extract|Template:Extract}} → Error: Need valid year, month, day
If you use this template for calculating someone's AgeM at death or AgeM at a certain date (rather than their current AgeM), please substitute it into the page, for example: {{subst:AgeM|1989|7|23|2003|7|14}}.
Template:Birth, death and age templates
Template:Sandbox otherThe documentation above was transcluded from Template:AgeM/Documentation. [edit]
