Difference between revisions of "Template:Age"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
m (Added french interwiki link.)
Line 8: Line 8:
*<nowiki>{{age|1989|7|23|2003|7|14}}</nowiki> gives {{age|1989|7|23|2003|7|14}}
*<nowiki>{{age|1988|7|23|2003|7|14}}</nowiki> gives {{age|1988|7|23|2003|7|14}}
*<nowiki>{{age|1989|7|23}}</nowiki> gives {{age|1989|7|23}}
*<nowiki>{{age|1988|7|23}}</nowiki> gives {{age|1988|7|23}}
[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]

Revision as of 03:31, 11 July 2014


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

  • {{age|1988|7|23|2003|7|14}} gives 14
  • {{age|1988|7|23}} gives 33