Template:Age in days: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "<includeonly>{{#invoke:age|age_generic|template=age_days}}</includeonly> 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== <pre> {{age in days|date1}} {{age in days|date1|date2}} </pre> <code><nowiki>{{age in days|August 12, 2005}}</nowiki></code> returns "6,910" (as of July 13, 2024)")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:age|age_generic|template=age_days}}</includeonly>
<includeonly>{{#invoke:age|age_generic|template=age_days}}</includeonly><noinclude>
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.
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.


Line 9: Line 9:


<code><nowiki>{{age in days|August 12, 2005}}</nowiki></code> returns "6,910" (as of July 13, 2024)
<code><nowiki>{{age in days|August 12, 2005}}</nowiki></code> returns "6,910" (as of July 13, 2024)
[[Category:Formatting templates]]</noinclude>

Revision as of 15:21, July 13, 2024

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|August 12, 2005}} returns "6,910" (as of July 13, 2024)