Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Age: Difference between revisions

Template page
More languages
Catrope (talk | contribs)
m Remove trailing space
Alvine (talk | contribs)
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 35