Difference between revisions of "Template:Age in weeks"

From blackwiki
Jump to navigation Jump to search
blackwiki>CBDunkerson
(Using floor parserfunction directly rather than through template)
blackwiki>Cydebot
m (Robot - Removing category Templates using ParserFunctions per CFD at Wikipedia:Categories for discussion/Log/2008 August 21.)
Line 15: Line 15:
 
         / 7
 
         / 7
 
           }} }}</includeonly><noinclude>[[Category:Date mathematics templates|{{PAGENAME}}]]
 
           }} }}</includeonly><noinclude>[[Category:Date mathematics templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>
+
</noinclude>

Revision as of 11:36, 26 August 2008

This template returns the number of weeks 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 weeks|month1= |day1= |year1= |month2= |day2= | year2=}}