Template:WeekDiff

Revision as of 12:05, 6 June 2020 by Pholin (talk | contribs) (Description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This templates allows you to (approximately) calculate the amount of weeks between two dates.

For example, {{WeekDiff|2397|5|18|2397|6|6}} produces 3 weeks.

If you want to use the current date, use {{CurrentStarYear}} to get the current staryear. Use {{CURRENTMONTH}} to produce the current month, and {{CURRENTDAY2}} for the day of the month.

For example, {{WeekDiff|2395|9|5|{{CurrentStarYear}}|{{CURRENTMONTH}}|{{CURRENTDAY2}}}} produces 323 weeks.

NOTE: This does not error check at all.