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 83 or 84, depending on whether they have reached their birthday in the current year:

{{Birth-date and age|1941}} → 1941 (1941) (age 84)
{{Birth-date and age|May 1941}} → May 1941 (1941-05) (age 84)

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

{{Birth year and age|1941}} → 1941 (age 83–84)
{{Birth year and age|1941|5}} → May 1941 (age 83–84)

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search