Template:Age in days

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 21:30, October 24, 2024 by Windy (talk | contribs) (Include milestone dates and examples)
Jump to navigationJump to search

This template returns the number of days between two specified dates. If the second parameter is not included, it will return the number of days between a specified date and today's date.

Usage

{{age in days|date1}}
{{age in days|date1|date2}}

{{age in days|November 23, 1990|August 12, 2005}} returns "5376"

{{age in days|August 12, 2005}} returns "7112"

Date formatting

The full range of possible date formats is based on php's strtotime() function and is explained here, but for simplicity it's usually best to just stick to the format above.

{{age in days|August 12 2005}} returns "7112"
{{age in days|12 August 2005}} returns "7112"
{{age in days|2005-08-12}} returns "7112"

Milestone dates

The days since Mario franchise born (July 9, 1981; 15912 days)

April 4, 1984: 1000
December 30, 1986: 2000
September 25, 1989: 3000
June 21, 1992: 4000
March 18, 1995: 5000
November 24, 2008: 10000
August 3, 2022: 15000
April 11, 2036: 20000
December 19, 2049: 25000
August 28, 2063: 30000
January 13, 2091: 40000
June 1, 2118: 50000

See also