Template:Age

From OniGalore
Jump to navigation Jump to search

This template gives you the time in years between two dates, which you pass in like so: {{age|year1|month1|day1|year2|month2|day2}}. You can also use it to find the number of years from a certain date to today by passing in only the first date: {{age|year1|month1|day1}}. This second usage allows you to avoid writing an age directly somewhere and having it fall out of date over time.

If you want more precision in the age output, use Template:AgeFull.