How many weeks are between two dates?
This week calculator determines the number of weeks between the first date and second date.
This content is licensed under Creative Commons Attribution/ShareAlike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7741/. Also, please do not modify any references to the original work (if any) contained in this content.
It was inspired by site searches which did not yield any results: "how many weeks", "weeks between two dates " and "how many weeks between two dates" :) Now you can find out. Also, you can read how it calculates the number of weeks between dates below the calculator.
Weeks between dates
Here are the steps needed to calculate the number of weeks between two dates.

Calculate the number of days between two dates (hint: you can use the How many days are there between two dates? calculator)

Divide the number of days by 7 and round down. You will get the number of full weeks.
 Calculate the integer remainder after dividing the number of days by 7. You will get the number of days.
The complete result will be the number of weeks and the number of days between two dates.
Weeks between dates calculation example
Problem: how many weeks are in the school year between September, 1st, 2021 and May, 31st, 2022?
Solution:

Calculate the number of days between September, 1st, 2021 and May, 31st, 2022. According to the How many days are there between two dates? calculator, the number of days is 272.

Divide this number by 7 and round down:
272/7 = 38.85, and it is 38 rounded down.  Calculate the integer remainder after division:
272  (38*7) = 6
The answer: There are 38 weeks and 6 days in the 2021 school year. (Well, different countries have different start and end dates of a school year)
And here is how you should enter this problem into the calculator above: weeks between two dates calculation example
Comments