Skip to content
Esc

Days between two dates

Runs in this page, nothing is sent

Enter two dates to count the days between them, with the same gap as years, months and days, weeks and working days. Turn on Include end date when both the first and last day count, as with leave or a rental.

Calculate

Pick the dates.

How to use it

  1. Enter the start and end dates.
  2. Turn on Include end date if both days count.
  3. Read the total days, the breakdown, weeks and working days for your weekend.

Details

Calendar
Gregorian, every date from 1900 to 2200, leap years included
Time zones
Whole days in plain calendar dates, so time zones and daylight saving never move the answer by a day
Month ends
Adding a month to 31 January gives 28 February (29 in a leap year): the last day, never a spill into March
Working days
Choose the weekend: Saturday and Sunday, Sunday only, or Friday and Saturday. Public holidays are not removed

Questions

Is anything I type sent anywhere?

No. The calculation runs in this page with JavaScript; dates, text and numbers are never uploaded or stored on a server.

Should I include the end date?

Usually not for 'how long until' questions: from Monday to Friday is 4 days. Include it when you count days of something that happens on both dates, such as leave from Monday to Friday, which is 5 days.

How are working days counted?

Every day in the range that is not on the chosen weekend. The end date is counted only when Include end date is on. Public holidays are not removed.

Does it work with dates in different years?

Yes, across any years from 1900 to 2200, with leap days counted. The order does not matter; an earlier end date gives the same count.