Template:Age

From DoomWiki.org

This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.

Codes[edit]

{{age|year1|month1|day1|year2|month2|day2}}
{{age|year1|month1|day1}}

Results[edit]

{{age|1989|7|23|2003|7|14}} returns "13".
{{age|1989|7|23}} returns "30".

Source[edit]

This template is from Wikipedia.