IQRCalculator

Days Between Dates Calculator

How many days lie between two dates — and how many of them are weekdays — with the end date counted or not.

Count the end date

Result

Difference30 daysSaturday, November 28, 2026 → Monday, December 28, 2026
Years, months, days
0 years, 1 month, 0 days
Weeks
4 weeks + 2 days
Weekdays (Mon–Fri)
20
Weekend days
10
Hours
720

The end date is not counted, as when counting nights or the time between two events.

Weekday counts do not exclude public holidays.

How to use it

Pick a start date and an end date, then decide whether the end date itself should count:

  • Not counted (the default) — for the time you have to wait, the nights of a hotel stay or the age of something in days. Monday to Tuesday is 1 day.
  • Counted (+1 day) — for an inclusive period in which both the first and the last day are used, such as days of leave or a course running from the 4th to the 15th. Monday to Tuesday is 2 days.

The formula

days = end date − start date, in calendar days
days with the end date counted = days + 1weekdays — days in the range that fall on Monday to Friday; weekend days — the rest

Each date is turned into a day number on the Gregorian calendar and the two are subtracted, so leap years and month lengths are handled exactly. The same span is also shown in weeks and days, in years, months and days, and in hours (days × 24).

Worked examples

One month ahead

Given: Saturday, November 28, 2026 → Monday, December 28, 2026, end date not counted

  • Difference: 30 days = 4 weeks + 2 days = 1 month, 0 days
  • Weekdays (Mon–Fri): 20; weekend days: 10
  • Hours: 720

Two weeks of leave

Given: Monday, January 4, 2027 → Friday, January 15, 2027

With the end date not counted, the difference is 11 days, 9 of them weekdays. With the end date counted, it is 12 days: 10 weekdays and 2 weekend days. For a leave request that starts on the first Monday and ends on the second Friday, the counted figure is the one you need.

Conventions and limits

  • Weekdays are Monday to Friday. The calculator does not know public holidays, so subtract any that fall in the range to get working days.
  • No clock times or time zones: every date is a whole calendar day. Daylight-saving changes do not affect the count, and the hours figure is simply days × 24.
  • Reversed dates: if the end date is before the start date, the dates are swapped and the difference is shown as a positive number of days.
  • Years, months and days are counted by stepping whole months from the earlier date, then counting the days left over. A month that is too short for the starting day ends on its last day, so January 31 plus one month is February 28, or February 29 in a leap year.
  • Dates from year 1 to 9999 are accepted, using the Gregorian calendar’s leap-year rules throughout, including for dates before it was introduced in 1582.

To find the date a given number of days away instead, use the date calculator. For someone’s exact age with a birthday countdown, use the age calculator.

Questions

Does the count include the start date?

With “Not counted”, the result counts from the start date up to, but not including, the end date — equivalently, it includes one of the two dates. With “Counted (+1 day)”, both dates are included.

How do I count working days?

Read the weekday figure, which counts Monday to Friday, and subtract the public holidays that fall on weekdays in your range. Choose “Counted” if the last day is a working day you need to include.

How many days until a date?

Leave the start date as today, enter the target date as the end date and keep the end date not counted. The result is the number of days still to go.