Template:Age nts/doc

This acts just like {{Age}} but will sort correctly in sortable tables. It is used in more than 1,000.

The 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.

A hidden sort key is included so values produced by this template will work properly in sortable tables. The sort key is calculated from the number of days between the given dates, and is compatible with {{number table sorting}}.