Wikipedia:Tip of the day/February 15

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Templates for Age and Dates

Wikipedia contains age calculation templates that self-update every day to keep date and age information current. These are very useful for a dynamic online encyclopedia and save users from having to regularly update that kind of information.

Many articles including biography articles contain infoboxes which use these age and date templates.

For example: The article for Benjamin Franklin infobox contains template
{{death date and age|1790|4|17|1706|1|17}}

Results display his birth date and age at death:
April 17, 1790(1790-04-17) (aged 84)