Template:Birth-date and age/doc

{{Birth-date and age}} displays a person's birth date and age. Besides calculating the age of the person, the benefit of using this template is to allow for the inclusion of hidden microformat dates, which may be indexed or searched by software tools.

Note: The template may not calculate the age correctly if a full date (month, day, year) is not provided. For example, a person who was born in 1941 could be either 82 or 83, depending on whether they have reached their birthday in the current year:

{{Birth-date and age|1941}} → 1941 (1941) (age 83)
{{Birth-date and age|November 1941}} → November 1941 (1941-11) (age 83)

When only the year is known, consider using {{Birth year and age}} instead:

{{Birth year and age|1941}} → 1941 (age 82–83)
{{Birth year and age|1941|11}} → November 1941 (age 82–83)