Template:Age in months/doc

From Wikipedia, the free encyclopedia

This is the template documentation page for Template:Age in months.

This page is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

This template returns the number of full mpnths between two dates, or between a specified date and today (UTC).

Syntax:
{{age_in_months|day1|month1|year1|day2|month2|year2}}
{{age_in_months|day1|month1|year1}}

Examples:

  • {{age_in_months|23|7|1989|14|7|2003}} gives 168
  • {{age_in_months|23|7|1989}} gives 212


If you use this template for calculating someone's age in months at death or age in months at a certain date (rather than their current age in months), please substitute it into the page, for example: {{subst:age_in_months|23|7|1989|14|7|2003}}.