Date Difference

Find the number of calendar days between two dates.

Local processing

Choose your dates

Calendar days, excluding the start date. Earlier end dates produce a negative result.

Your result

30days

2026-01-01 to 2026-01-31, excluding the start date.

Calculated in your browser. No sign-up needed.

Your inputs stay on this device. No account or file upload needed.

A QUICK GUIDE

How to use date difference

Calculate a calendar date interval without time-zone or daylight-saving differences. The starting day is excluded from the count.

  1. Choose the start date.
  2. Choose the end date.
  3. Read the number of days. Reverse the dates to see the same interval as a negative number.
TRY THIS EXAMPLE

A month-end interval

January 1 to January 31 is 30 days. January 1 to January 1 is 0 days. February 28 to March 1 is 2 days in a leap year and 1 day in a non-leap year.

Good to know

  • The calculation compares calendar dates using UTC and ignores times of day.
  • It counts weekends and holidays. It is not a business-day or work-hours calculator.
  • For an inclusive count of both calendar dates, add one to a non-negative interval.

Common questions

Will daylight saving time change the answer?

No. The calculation uses UTC calendar dates instead of the local time elapsed between midnights, so a 23-hour or 25-hour day does not affect the count.

Can the answer be negative?

Yes. An end date earlier than the start date gives a negative interval, which makes the direction of the comparison clear.