Time & Planning

Days Between Dates Calculator

Find the date-only difference in either direction, including leap years, without daylight saving or timezone drift.

View Time, Travel & Education

Dates are processed locally in your browser, without uploads, storage or external API requests.

Choose two dates

Use calendar dates from year 0001 to 9999. Either date can come first.

Elapsed counting gives 0 days for the same date. Inclusive counting gives 1 day.

Preparing calculator controls…

Days between dates

2 days

Elapsed calendar days: the difference between the dates.

Uses the Gregorian calendar, including leap years. This counts calendar days, not working days or hours; daylight saving time does not change the result. Historical calendar changes are not modeled.

Your dates are calculated locally in your browser. They are not uploaded, stored, or sent to an external API.

What this tool does

Counts the absolute difference between Gregorian calendar dates. Inclusive mode adds one to include both endpoints; date order never makes the result negative.

How to use it

  • Choose a start date and an end date.
  • Select Include both start and end dates if you want an inclusive count.
  • Read or copy the result; swap dates or reset the example as needed.

Example input and output

Input: 28 February 2024 to 1 March 2024

Output: 2 elapsed calendar days, or 3 days with both endpoints included

Common use cases

  • Counting days until an event
  • Checking a date range
  • Planning calendar-day schedules

FAQ

Does the count include both dates?

By default it measures elapsed calendar days: the same date gives 0. Select inclusive counting to include both endpoints, so the same date gives 1.

What if the end date is earlier?

The tool counts in chronological order and shows a non-negative total, with a reversed-date notice.

Are leap years and daylight saving supported?

Yes. Gregorian leap-year rules apply, and calendar dates are compared independently of local timezone and daylight saving changes.

Does it count working days or historical calendar changes?

No. It counts all calendar days, including weekends and holidays, using Gregorian rules for years 0001–9999. It does not model regional historical calendar changes or times of day.