Template:Age: Difference between revisions

Template page
m (Remove trailing space)
m (Added french interwiki link.)
Line 13: Line 13:
[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[fr:Modèle:Âge]]
</noinclude>
</noinclude>

Revision as of 23:31, 19 January 2009

Documentation

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

Syntax
{{Age|year1|month1|day1|year2|month2|day2}}
{{Age|year1|month1|day1}}
Examples
  • {{age|1989|7|23|2003|7|14}} gives 13
  • {{age|1989|7|23}} gives 34