timedatelive.com

Days between dates calculator

Count the exact days, weeks and months between two dates.

Calculator

How to count the days between two dates

Enter a start date and an end date and the calculator returns the number of days between them, the same gap in weeks and days, in years, months and days, and the number of weekdays in the range. By default the end date is not counted, which is how most people count “days until”: from Monday to the following Monday is seven days. Tick “include the end date” to count both the first and the last day, as you would for a hotel stay billed per night or a contract that runs “from and including” both dates.

Rules the calculator follows

The tool works on calendar dates, not on clock times, so daylight saving changes can never add or remove a day. Leap years are handled exactly: a year has 366 days when it is divisible by 4, except for century years that are not divisible by 400. If you enter the dates in reverse order the result is the same size and a note tells you that the first date is later. Weekdays are Monday to Friday and public holidays are not removed here; use the working days calculator for that.

What people use it for

Typical uses include counting days to a deadline, working out a notice period or the length of a trip, checking a warranty or return window, and finding how long ago something happened. For an age in years, months and days, put the birth date first and today’s date second. If you want a date a certain number of days from now, use days from today instead.

Worked examples

  1. March to September
    From Monday 1 March 2027 to Thursday 30 September 2027 is 213 days, which is 30 weeks and 3 days.
  2. Christmas to the New Year
    From Saturday 25 December 2027 to Saturday 1 January 2028 is 7 days, or 8 days if both the first and last day are counted.
  3. A leap-year check
    February 2028 has 29 days because 2028 is a leap year, so counting from 1 February to 1 March 2028 gives 29 days.

Reference: how long are the months and quarters in 2027?

2027 is not a leap year, so it has 365 days, which is 52 weeks and 1 day. 1 January 2027 is a Friday and 31 December 2027 is a Friday. The average month is about 30.4 days, so a rough count of months is days divided by 30.4. The table gives the exact day counts so you can check a result by hand.

Days per month in 2027
MonthDays
January31
February28
March31
April30
May31
June30
July31
August31
September30
October31
November30
December31

By quarter: Q1 has 90 days, Q2 has 91 days, Q3 has 92 days, Q4 has 92 days. Counting days across a February matters most in leap years such as 2028, where February has 29 days and the year has 366.

Frequently asked questions

How do I calculate the number of days between two dates?

Enter both dates in the calculator. The result shows the exact number of days. Tick “include the end date” if you want to count both the first and the last day.

Does it count the start and end date?

The end date is excluded by default, so the answer is the difference between the dates. Tick the box to include it, which adds one day.

Does it handle leap years?

Yes. February 29 is counted in leap years such as 2028, and the calculation uses calendar dates so daylight saving never changes the answer.

Can I count only weekdays?

The result also shows how many Monday to Friday days are in the range. To remove public holidays as well, use the working days calculator.

Related calculators and tools

Settings

Time format

Saved in this browser only. No account and no cookies.