Weekday Count Between Dates
How many Mondays, Fridays or any other weekday fall between two dates, inclusive.
What this Weekday Count Between Dates calculator does
How many Mondays, Fridays or any other weekday fall between two dates, inclusive.
Both dates are included, so a range of a single day that is the chosen weekday counts one. The page counts whole weeks and then the remainder, so the answer is exact for any range inside the supported years rather than an estimate. Calendar days only; the time of day is ignored. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
How to use it
Enter First date, Last date, Weekday to count, then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.
Worked example
Input:
First date = 2026-01-01
Last date = 2026-12-31
Weekday to count = Friday
Output:
Occurrences = 52
Days in range = 365
Why it runs in your browser
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
Weekday Count Between Dates: How many Mondays, Fridays or any other weekday fall between two dates, inclusive.
Both dates are included, so a range of a single day that is the chosen weekday counts one. The page counts whole weeks and then the remainder, so the answer is exact for any range inside the supported years rather than an estimate. Calendar days only; the time of day is ignored. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
Worked example: First date = 2026-01-01, Last date = 2026-12-31, Weekday to count = Friday gives Occurrences = 52; Days in range = 365.
How to use the Weekday Count Between Dates calculator
Enter First date, Last date, Weekday to count, then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
- First date — a date written YYYY-MM-DD
- Last date — a date written YYYY-MM-DD
- Weekday to count — one of Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
The rule this page applies
Both dates are included, so a range of a single day that is the chosen weekday counts one. The page counts whole weeks and then the remainder, so the answer is exact for any range inside the supported years rather than an estimate. Calendar days only; the time of day is ignored. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.
- Occurrences = 52
- Days in range = 365
What to Expect
Best for
- Checking a date by hand
- Getting the occurrences quickly
- Comparing two candidate dates
Not ideal for
- Statutory holiday calendars
- Time-zone conversion
- Locales other than English
What this tool keeps
- Your inputs in this tab
- The rule, printed in full
- The same answer on every run
What may need cleanup
- A date the page refuses, which names the reason instead of guessing
- A count outside the supported range, which is refused by name
Common errors
- A date that does not exist, such as 30 February, is refused rather than rolled forward
- A blank field is refused rather than read as today
- A written date in an order the page does not accept is refused by name
Example use cases
- Planning around a deadline
- Checking a date before you commit to it
- Homework and exam checking
Sample input
First date = 2026-01-01, Last date = 2026-12-31, Weekday to count = Friday
Sample output
Occurrences = 52; Days in range = 365
Who this is for
- Anyone checking a date by hand
- Students and teachers
Frequently asked questions
What does the Weekday Count Between Dates calculator do?
How many Mondays, Fridays or any other weekday fall between two dates, inclusive. The page prints occurrences, days in range.
How does this page count days?
Both dates are included, so a range of a single day that is the chosen weekday counts one. The page counts whole weeks and then the remainder, so the answer is exact for any range inside the supported years rather than an estimate. Calendar days only; the time of day is ignored. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
How are leap years handled?
A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.
Which time zone does the page use?
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
Are the end dates included?
Yes, both dates are included. A one-day range that falls on the chosen weekday counts one, and a range that ends on it counts that day.
Can I count weekends instead?
Use the weekend-days page: it counts Saturdays and Sundays together. This page counts one named weekday.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.