960
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:{{{4}}}*52+{{{5}}}*(4+(1/3))+{{{6}}}/7-({{{1}}}*52+{{{2}}}*(4+(1/3))+{{{3}}}/7)round0}} | <includeonly>{{#expr:{{{4}}}*52+{{{5}}}*(4+(1/3))+{{{6}}}/7-({{{1}}}*52+{{{2}}}*(4+(1/3))+{{{3}}}/7)round0 weeks}}</includeonly><noinclude> | ||
This templates allows you to (approximately) calculate the amount of weeks between two dates. | |||
< | For example, <nowiki>{{WeekDiff|2397|5|18|2398|6|6}}</nowiki> produces '''{{WeekDiff|2397|5|18|2398|6|6}}'''. | ||
'''NOTE:''' This does not error check at all.</noinclude> |
edits