Template:Age in weeks: Difference between revisions

Jump to navigation Jump to search
en>Johnuniq
(use Module:Age for features including ability to enter dates in full, and to generate a sort key)
m (1 revision imported)
Line 1: Line 1:
<includeonly>{{#invoke:age|age_generic|template=age_w}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#expr: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
          }} }}</includeonly><noinclude>
{{documentation}}
</noinclude>

Revision as of 23:45, 25 February 2019