Template:Age: Difference between revisions

Template page
No edit summary
No edit summary
Line 12: Line 12:
*<nowiki>{{age|1989|7|23}}</nowiki> gives {{age|1989|7|23}}
*<nowiki>{{age|1989|7|23}}</nowiki> gives {{age|1989|7|23}}


[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 08:13, 15 September 2006


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