Template:Age in weeks

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:   $\floor{{{#expr: (       + {{Gregorian serial date                      |month = {{{month2|{{CURRENTMONTH}}}}}                      |day = {{{day2|{{CURRENTDAY}}}}}                      |year = {{{year2|{{CURRENTYEAR}}}}}          }}        - {{Gregorian serial date                      |month = {{{month1|{{CURRENTMONTH}}}}}                      |day = {{{day1|{{CURRENTDAY}}}}}                      |year = {{{year1|{{CURRENTYEAR}}}}}          }}          ) / 7         }} }$