User:WindyZ/Age in days

From SmashWiki, the Super Smash Bros. wiki
< User:WindyZ
Revision as of 20:59, December 2, 2024 by WindyZ (talk | contribs) (Template created because there may be cases where counting by days is necessary.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


The text of this documentation is at User:WindyZ/Age in days/doc. Go there to edit it.

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

Syntax:
{{User:WindyZ/Age in days|year1|month1|day1|year2|month2|day2}} or
{{User:WindyZ/Age in days|year1|month1|day1}}
Examples:
{{User:WindyZ/Age in days|1970|8|3|1999|1|21}} returns "Expression error: Unrecognized punctuation character "["."
{{User:WindyZ/Age in days|1999|1|21}} returns "Expression error: Unrecognized punctuation character "["."
{{User:WindyZ/Age in days|2018|12|7}} returns "Expression error: Unrecognized punctuation character "["."
When using this template to calculate a person's age in days at death or a person's age in days on a specified date (rather than the person's current age in days), please substitute it into the page.
Example: {{subst:User:WindyZ/Age in days|2018|12|7}}
Universes:
Super Mario: {{User:WindyZ/Age in days|1985|9|13}} returns "Expression error: Unrecognized punctuation character "["."
The Legend of Zelda: {{User:WindyZ/Age in days|1986|2|21}} returns "Expression error: Unrecognized punctuation character "["."
Mario and Donkey Kong in 20,000 days: {{User:WindyZ/Age in days|1981|7|9|2036|4|11}} returns "Expression error: Unrecognized punctuation character "["."
(Transcluded documentation: view)