Skip to content

Days Between Dates Calculator

Calculate the number of days, weeks, months, and years between two dates. Includes business days and detailed time breakdowns.

Calculator Details

Days Between:30 daysSee results ↓

The earlier date (or later date if calculating backwards)

The later date (or earlier date if calculating backwards)

Your Results

Days Between: 30 days

Days Between

30 days

0 years, 1 months, 0 days

Business Days (Mon–Fri)

22

Start → End

Wednesday → Friday

There are 30 days between these dates (1 month).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

The gap between the dates in each unit
UnitCountHow it is counted
Days30End date − start date (start not counted)
Days, both dates included31Days + 1
Business days (Mon–Fri)22Weekends skipped; holidays not skipped
Years, months, days0 y 1 mo 0 dWhole years, then whole months, then days
Weeks and days4 w 2 dDays ÷ 7, remainder in days
Hours72024-hour days
Minutes43,20024-hour days
Seconds2,592,00024-hour days

How This Calculator Works

How the Days Are Counted

Days between = end date − start date on the real calendar (leap years included): the start date is not counted, the end date is. Business days use the same rule but count only Monday to Friday.

Friday, December 25, 2026 − Wednesday, November 25, 2026 = 30 days

Including both dates: 30 + 1 = 31 days

30 ÷ 7 = 4 weeks and 2 days

Weekdays only: 22 business days

Calendar breakdown: 0 years, 1 months, 0 days

Hours = 30 × 24 = 720

Frequently Asked Questions

Does the count include the start date and the end date?

The main figure counts the days after the start date up to and including the end date, the same as subtracting one date from the other: January 1 to January 10 is 9 days. If you want to count both the first and the last day (for example days of a hotel stay plus checkout day, or a leave period from Monday to Friday), use the "including both dates" figure, which is one more.

What's the difference between total days and business days?

Total days counts every calendar day. Business days counts only Monday to Friday, using the same rule (after the start date, up to and including the end date). Friday, January 5 to Monday, January 8, 2024 is 3 days but 1 business day.

Does this calculator account for holidays?

No. Only Saturdays and Sundays are excluded from business days. Statutory holidays differ by province, state and country, so subtract any that fall in your range yourself.

How are leap years handled?

With the real Gregorian calendar. Years divisible by 4 are leap years, except century years, which must be divisible by 400: 2000 and 2024 were leap years, 1900 was not. February 28 to March 1 is 2 days in 2024 and 1 day in 2023.

How is the years, months and days breakdown worked out?

Whole years and months are counted to the last monthly anniversary of the start date on or before the end date, and the rest are days. March 15, 2020 to July 22, 2024 is 4 years (to March 15, 2024), 4 months (to July 15) and 7 days. If a month is too short for the start day, the anniversary is the 1st of the next month, so January 31 to March 1, 2025 is 1 month and 0 days.

Can the end date be before the start date?

Yes. The calculator gives the same number of days either way and marks the direction as "in the past". January 15 back to January 1, 2024 is 14 days and 10 business days.

Are hours and minutes exact?

They assume every day is 24 hours long. On the days clocks change for daylight saving time a day is 23 or 25 hours, so a range that crosses a change is really an hour shorter or longer than the hours shown. The day counts are not affected.

How many weeks are between two dates?

Divide the days by 7: the calculator shows whole weeks plus the days left over. 100 days is 14 weeks and 2 days.

Included: calendar days (end − start, plus a count including both dates), weekdays Monday–Friday, weeks, a years/months/days breakdown and leap years.

Left out: public and statutory holidays and daylight saving time (hours, minutes and seconds assume 24-hour days). Dates are calendar dates, so time zones don't shift them.

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:

  1. 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.
  2. Including both dates: 30 + 1 = 31 days.
  3. Business days: 22 weekdays, from Monday 9 November to Tuesday 8 December. The other 8 days are four Saturdays and four Sundays.
  4. Breakdown: 1 month and 0 days (no whole years).
  5. Weeks: 30 ÷ 7 = 4 weeks and 2 days.
  6. 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?

SituationUsual countWhich figure to use
How long ago or until a dateExclusive of the startTotal days
Hotel or rental nightsCheck-in excluded, check-out includedTotal days
Days of a vacation or a leaveBoth endsIncluding both dates
Statutory notice ("at least 10 days")Neither end (clear days)Total days − 1
Days present for a travel or tax ruleUsually both endsIncluding 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy