Jump to content

Template:Age in days: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
God of War (talk | contribs)
No edit summary
God of War (talk | contribs)
No edit summary
Line 4: Line 4:
<includeonly>
<includeonly>
{{#expr:
{{#expr:
<!--+ {{Gregorian serial date
+ {{Gregorian serial date
|month = {{{month2|{{CURRENTMONTH}}}}}
|month = {{{month2|{{CURRENTMONTH}}}}}
|day = {{{day2|{{CURRENTDAY}}}}}
|day = {{{day2|{{CURRENTDAY}}}}}
|year = {{{year2|{{CURRENTYEAR}}}}}
|year = {{{year2|{{CURRENTYEAR}}}}}
}}-->
}}
- {{Gregorian serial date|month = month1 |day = day1 |year = year1 }}
- {{Gregorian serial date
|month = {{{month1|{{CURRENTMONTH}}}}}
|day = {{{day1|{{CURRENTDAY}}}}}
|year = {{{year1|{{CURRENTYEAR}}}}}
}}
}}
}}
</includeonly>
</includeonly>

Revision as of 19:20, 18 May 2006

This template returns the number of days that have elapsed between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type: {{Age in days|month1= |day1= |year1= |month2= |day2= | year2=}}