Maaz Zindani

Loading the index…

↑↓ move↵ openesc close3993 pages

Free tool · Date and time

Days between dates

Enter two dates to see how many days lie between them, and the same span as weeks, as years, months and days, and as weekdays. You choose whether the end date counts.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Count the end date too
Off: the days from the start up to the end. On: both dates are counted, as for days of leave or the length of an event.
Days between
156 daysFriday, January 15, 2027 to Sunday, June 20, 2027
  • End date not counted
  • Counts the days from start up to end
Weeks and days
22 weeks, 2 days
Years, months, days
5 months, 5 days
Weekdays (Mon to Fri)
111
Weekend days (Sat, Sun)
45

Weekdays here are Monday to Friday with no holidays. For your own weekend or holidays, use the business days calculator.

How to use the Days Between Dates

  1. Enter the Start date and the End date, or press Today next to either one.
  2. Switch on Add one day for the end date if both dates should count, as for days of leave or the length of an event.
  3. Read the number of days under Days between, with the weeks, the years, months and days, and the weekdays and weekend days.
  4. Press Copy to keep the answer, or Swap the two dates to reverse them.

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

Subtract the earlier date from the later one. The tool turns each calendar date into a day number and subtracts the two numbers, so months of different lengths and leap years are handled by the calendar itself. From Friday, January 15, 2027 to Sunday, June 20, 2027 the answer is 156 days.

You can check it by hand in steps. January 15 to February 1 is 17 days, February 1 to June 1 adds 28 + 31 + 30 + 31 = 120 days, and June 1 to June 20 adds 19 days: 17 + 120 + 19 = 156. A calendar-date count never depends on the time of day or on your time zone.

Other ways of counting can be off by a day. A method that subtracts two timestamps in milliseconds and divides by 86,400,000 goes wrong when a daylight saving change makes one day 23 or 25 hours long, and rounding then drops or adds a whole day. Counting calendar dates, as this tool does, avoids that. The same logic gives 1 day from February 28 to March 1, 2027, but 2 days from February 28 to March 1, 2028, because 2028 has a February 29.

Does "days between" include the start date or the end date?

By default the count runs from the start date up to, but not including, the end date. That is the ordinary difference, and it answers "how many days until" questions: January 1 to January 31, 2027 is 30 days, and the same date twice is 0 days.

Switch on Add one day for the end date and both dates count. January 1 to January 31 becomes 31 days, and a weekend away from Friday June 18 to Sunday June 20, 2027 is 3 days instead of 2. The same date twice becomes 1 day. Use it for days of leave, the length of a course or the days of an event, where the first and the last day both count. For a countdown or an age in days, leave it off.

The chip under the answer always says which rule was used, and the copied text says "end date counted" when it was, so a number you paste into a message or a form is not ambiguous. Forms and contracts sometimes say "inclusive" for counting both dates and "exclusive" for leaving the end out. If a document does not say which one it means, check before you rely on the number.

How many weeks, months and weekdays are between two dates?

Under the answer you get the same span in other units. For January 15 to June 20, 2027 the weeks and days are 22 weeks, 2 days, which is 156 days split by 7, and the years, months and days are 5 months, 5 days. Months are whole months counted from the start date: January 15 plus 5 months is June 15, and 5 more days reach June 20. If a month is too short to hold the start day, the last day of that month is used.

The weekday figure counts Monday to Friday inside the span and the weekend figure counts Saturday and Sunday. In the example the two spare days after the 22 full weeks are a Friday and a Saturday, so the weekdays are 22 × 5 + 1 = 111 and the weekend days are 45, which together make 156. With the end date counted, the same dates give 157 days (22 weeks, 3 days) and still 111 weekdays, because the extra day is a Sunday.

Public holidays are not taken out of the weekday count, because they differ by country and region. For a working-day count with your own days off and holidays, use the business days calculator.

How many days are in a year, and from January 1 to each month?

From January 1, 2027 to January 1, 2028 is 365 days. The next year, from January 1, 2028 to January 1, 2029, is 366 days, because 2028 is a leap year. The table below runs the tool from January 1, 2027 to the first day of each later month. It shows how many days have passed, the weeks and days, and the weekdays, with the end date not counted.

Days from January 1, 2027 to the first day of each month
ToDaysWeeks and daysWeekdays
February 1314 weeks, 3 days21
March 1598 weeks, 3 days41
April 19012 weeks, 6 days64
May 112017 weeks, 1 day86
June 115121 weeks, 4 days107
July 118125 weeks, 6 days129
August 121230 weeks, 2 days151
September 124334 weeks, 5 days173
October 127339 weeks, 0 days195
November 130443 weeks, 3 days216
December 133447 weeks, 5 days238
January 1, 202836552 weeks, 1 day261

For round numbers: 30 days is 4 weeks, 2 days, 90 days is 12 weeks, 6 days, 180 days is 25 weeks, 5 days and 365 days is 52 weeks, 1 day. To find the date that is 30, 90 or 180 days after a day you already have, use the date calculator. It adds and subtracts days, weeks, months and years, and explains what happens at the end of a short month.

What if the end date is before the start date?

The tool swaps the two dates and shows a chip that says so, so the answer is never negative. January 15 and June 20, 2027 entered the other way round still give 156 days. Use Swap the two dates if you want to reverse them on purpose.

This page measures the gap between two dates you already know. For a person's age in years, months and days on a given day, the age calculator is the better fit, and the birthday countdown shows the days left until the next one.

Use it with

Questions

How many days are between two dates?

Enter both dates and read the answer. It is the later date minus the earlier one: from January 15, 2027 to June 20, 2027 it is 156 days.

Is the end date included in the count?

Not by default: January 1 to January 31, 2027 is 30 days. Switch on Add one day for the end date to count both ends and get 31.

How many weeks and months is that?

The facts show the span as weeks and days and as years, months and days. For 156 days that is 22 weeks, 2 days, or 5 months, 5 days.

How many weekdays or business days are between two dates?

The tool shows the Monday to Friday days in the span, 111 for January 15 to June 20, 2027. Public holidays are not removed; the business days calculator does that.

How many days are in a leap year?

January 1, 2028 to January 1, 2029 is 366 days, against 365 for 2027, because 2028 has a February 29.

Why can other calculators be a day off?

Some subtract timestamps in milliseconds, which goes wrong when a daylight saving change makes a day 23 or 25 hours long. This tool counts calendar dates, so the answer does not depend on time zones.

How this page was made: the tool's results are computed in your browser by the code on this page; the explanations were drafted with AI help and checked against the tool's own output.