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 1: Line 1:
<noinclude>
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: '''<nowiki>{{Age in days|month1= |day1= |year1= |month2= |day2= | year2=}}</nowiki>'''
</noinclude>
<includeonly>
<includeonly>
{{#expr:
{{#expr:
Line 10: Line 13:
</includeonly>
</includeonly>
<noinclude>
<noinclude>

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: '''<nowiki>{{Age in days|month1= |day1= |year1= |month2= |day2= | year2=}}</nowiki>'''


[[Category:Date math]]
[[Category:Date math]]
[[Category:Templates using ParserFunctions]]
[[Category:Templates using ParserFunctions]]

Revision as of 19:16, 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=}}