Count the number of days between two dates, including or excluding the end date, with business day calculation.
| Property | Value |
|---|---|
| Start date | October 5, 2026 (Monday) |
| End date | November 4, 2026 (Wednesday) |
| Include end date | No |
| Total days | 30 |
| Weeks and days | 4w 2d |
| Business days | 22 |
| Weekend days | 8 |
| Period | Days |
|---|---|
| 1 week | 7 |
| 1 month (avg) | 30.44 |
| 1 quarter | 91.25 |
| 1 year | 365 |
| 1 leap year | 366 |
| 1 decade | 3,652 |
The classic slip in date counting is the fence-post error: Monday to Friday is four days apart but five days on the calendar, and people pick whichever number feels right instead of the one the contract or form actually means. Get it wrong and a 30-day return window closes a day earlier than you planned, or a rental is billed for a night you never used. This counter gives you both answers with one checkbox, so you can match the convention your situation uses.
Take Monday 3 March 2025 as the start and Friday 20 June 2025 as the end, with the end date left out of the count (the default).
First the raw gap. The page reads both dates as midnight on your local clock, subtracts them, divides by 86,400,000 milliseconds per day and rounds to a whole number. Rounding is there so a daylight-saving change cannot leave you with a fraction of a day. The answer is 109 days.
The formula is total days = |end - start|, plus 1 if 'Include end date in count' is ticked. Weeks = floor(total / 7) and the leftover = total mod 7. So 109 days is 15 weeks (105 days) and 4 days. Tick the box and it becomes 110 days, or 15 weeks and 5 days.
Business days come from a separate loop. Starting the day after the start date, the page steps forward one day at a time and counts each step that lands on Monday to Friday. Fifteen full weeks contain 75 weekdays, and the four leftover days (Tuesday to Friday) add 4 more, so 79. Weekend days are simply 109 - 79 = 30. With the box ticked the business-day figure becomes 80, because one more weekday is added when the end date falls on a weekday.
Nothing here is rounded except that midnight guard. Public holidays are not removed, so the 79 is a weekday count, not a working-day count.
It depends on the wording. 'Within 30 days of the notice' normally starts counting the day after, so leave the box unticked. A three-day conference running Monday to Wednesday is three days, which needs the box ticked. Hotel nights are checkout minus check-in, so unticked.
The unticked count covers the days after the start date up to and including the end date. When you tick the box it adds one more weekday if the end date is a weekday, which matches a hand count only if the start date is also a weekday. Starting on a Saturday, count the weekdays by hand to be sure.
No. It only knows about Saturdays and Sundays. Subtract any holidays that fall on weekdays yourself, and remember that some countries use a Friday and Saturday weekend, which this page does not model.
You get 0 days with the box unticked and 1 day with it ticked. If the end date is earlier than the start, the label switches to Days Since and the number is shown as a positive count.
No. 30.44 is just 365.2425 divided by 12, an average for rough planning. Real months run 28 to 31 days, so for a calendar-month deadline enter the actual dates. As a check, 1 January to 1 March spans 60 days in 2028 but 59 in 2027.