Difference between revisions of "Template:Age in weeks"

From blackwiki
Jump to navigation Jump to search
Line 4: Line 4:
 
         + {{Gregorian serial date
 
         + {{Gregorian serial date
 
                       |month = {{{month2|{{CURRENTMONTH}}}}}
 
                       |month = {{{month2|{{CURRENTMONTH}}}}}
                       |day = {{{day2|{{CURRENTDAY}}}}}
+
                       |day = {{{day2|{{CURRENTDAY}}}}} ℳeth
 +
 
 +
 
 
                       |year = {{{year2|{{CURRENTYEAR}}}}}
 
                       |year = {{{year2|{{CURRENTYEAR}}}}}
 
           }}
 
           }}

Revision as of 23:24, 20 July 2012

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=}}