Days Between Dates Calculator: Counting Days, Weekdays and Months
By FindMySum · Last reviewed
A days between dates calculator subtracts one date from another and tells you how far apart they are: in calendar days, in weekdays, and as a mix of years, months and days. People use it to count down to a trip, to check a notice period, to measure a project or to work out how long ago something happened. The headline number is easy to get. The questions that cause arguments are whether to count the first day, the last day or both, and what a "month" means when months have different lengths. This article explains how the calculator answers each one, with a worked example from its starting values.
The core count
Each date becomes a day number on the Gregorian calendar, and the calculator subtracts them:
Total days = end date − start date
That count excludes the start date and includes the end date. From Monday to Tuesday is 1 day; from 1 January to 31 January is 30. It is the same answer a spreadsheet gives when you subtract two date cells, and it matches the default rule in Canada's federal Interpretation Act for a period "between two events": the day of the first event is excluded and the day of the second is included.
If you need both ends counted, the calculator also reports total days + 1 as the "including both dates" figure. That version suits counting days of attendance, a leave that runs Monday to Friday inclusive, or the days a sign is posted.
When the end date is before the start date, the count is the same size and the result is marked as in the past, so you can measure backwards without swapping the boxes.
Weekdays
The business-day figure counts Mondays to Fridays using the same boundary rule: after the start date, up to and including the end date. Statutory holidays are not removed, because they vary by province and by employer.
Years, months and days
The breakdown counts whole years to the last anniversary of the start date, then whole months to the last monthly anniversary, then the remaining days. When the start date's day number doesn't exist in a month (31 June, for example), that anniversary moves to the 1st of the next month. This avoids negative days and keeps the breakdown consistent with how people count on a calendar.
Weeks, hours, minutes and seconds
Weeks are the total days divided by 7, shown as whole weeks plus leftover days. Hours, minutes and seconds multiply the day count by 24, 1,440 and 86,400. Those figures assume every day is exactly 24 hours long, which is true for the calendar but not for the clock on the two days a year when daylight saving time starts or ends.
Worked example: the calculator's starting values
On first load the page uses today as the start and the date 30 days later as the end, so the example moves with the calendar. Taking 8 November 2026 as today, that is Sunday, 8 November 2026 to Tuesday, 8 December 2026. The engine returns:
- Total days: 8 December − 8 November = 30 days. November has 30 days, so the same day number one month later is exactly 30 days on.
- Including both dates: 30 + 1 = 31 days.
- Business days: 22 weekdays, from Monday 9 November to Tuesday 8 December. The other 8 days are four Saturdays and four Sundays.
- Breakdown: 1 month and 0 days (no whole years).
- Weeks: 30 ÷ 7 = 4 weeks and 2 days.
- Hours: 30 × 24 = 720 hours, or 43,200 minutes and 2,592,000 seconds. In most of Canada daylight time ended on 1 November 2026, before this range, so no clock change falls inside it and the 720 hours are real elapsed hours.
Counting to New Year
Change the end date to Friday, 1 January 2027 and keep the start. The engine gives 54 days (55 including both dates), 40 business days, a breakdown of 1 month and 24 days, and 7 weeks and 5 days. The month runs to 8 December, and the 24 days from 8 December to 1 January make up the rest.
Those 40 business days include several holidays: Remembrance Day on 11 November in the provinces and territories that observe it, Christmas on Friday 25 December, Boxing Day (Saturday 26 December, often observed on Monday 28 December) and New Year's Day itself on Friday 1 January. A payroll or project schedule over this span would subtract three or four of them.
Inclusive or exclusive: which do you need?
| Situation | Usual count | Which figure to use |
|---|---|---|
| How long ago or until a date | Exclusive of the start | Total days |
| Hotel or rental nights | Check-in excluded, check-out included | Total days |
| Days of a vacation or a leave | Both ends | Including both dates |
| Statutory notice ("at least 10 days") | Neither end (clear days) | Total days − 1 |
| Days present for a travel or tax rule | Usually both ends | Including both dates |
When a rule matters, read its definition. Legislation, contracts and program guides often state how to count, and the difference between the three conventions is only a day or two, which is exactly the margin that decides a deadline.
Limits of the count
The calculator works with dates, not moments. It doesn't know what time of day something starts, and it assumes the Gregorian calendar throughout, which Britain and its colonies only adopted in 1752 (so historical dates before then may need converting). It also gives no special treatment to holidays or non-standard work weeks.
Using the result
To find a date a set number of days away rather than measuring between two, use the date calculator. For a person's exact age today, the age calculator uses the same anniversary rule. If you are adding up hours worked over those days, the time card calculator handles shifts, breaks and overtime.
More questions
How many days are left until Christmas or New Year?
Enter today as the start date and the holiday as the end date. The total days figure is the number of sleeps: from 8 November 2026, for example, there are 54 days to 1 January 2027. If you are counting down to an event on a specific evening, the figure still counts whole calendar days, not hours.
How do I count working days between two dates when there are statutory holidays?
Take the business days figure and subtract one for each statutory holiday in your province that falls on a weekday inside the range. Check observed dates: when a holiday falls on a weekend, many employers observe it on the following Monday, which then becomes the day to subtract.
Why does the hours figure not match my payroll or travel time?
The hours, minutes and seconds are whole days multiplied by 24, 1,440 and 86,400. They describe calendar days, not times of day, so a trip from 6 p.m. on one date to 9 a.m. on another is not the hours shown. For clock-to-clock spans, use the time calculator; for shifts and breaks, the time card calculator.
How do I count the nights of a hotel stay or a rental?
Enter the check-in date as the start and the check-out date as the end. The total days figure equals the number of nights, because the check-in day is not counted and the check-out day is. Use the including both dates figure instead if you need the number of calendar days you are away.
How many days is a 90-day or 180-day rule from a given date?
Put the start date and a candidate end date into this calculator and adjust until the total reaches the limit. Many travel and tax rules count both the arrival and departure days as days present, so for those the including both dates figure is the one to compare with the limit. Read the rule's own definition before relying on either.
Can I use this to measure a pregnancy or a baby's age?
You can count the days and weeks from a known date, such as the first day of the last menstrual period, and the whole weeks plus leftover days figure gives the familiar 'weeks plus days' format. Clinical dating often uses ultrasound measurements as well, so treat the count as a calendar figure, not a medical estimate.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.