Template:WeekDiff: Difference between revisions
Jump to navigation
Jump to search
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. | This templates allows you to (approximately) calculate the amount of weeks between two dates. | ||
Revision as of 11:58, 6 June 2020
This templates allows you to (approximately) calculate the amount of weeks between two dates.
For example, {{WeekDiff|2397|5|18|2398|6|6}} produces 55 weeks.
NOTE: This does not error check at all.