Date Difference Calculator

Calculate the number of days, months, and years between two dates.

📅

Date Difference

Enter two dates to calculate the difference.

Date difference
0 days
Calendar days between dates

Worked example

With the default inputs shown below, this calculator returns the following results:

InputValue
Start date2026-10-31
End date2026-11-30
Include end date?No — count from start to end
ResultValue
Date difference30 days

Values shown are produced by this page in your browser; change any input to update them.

How to use the Date Difference

  1. Start date — default 2026-10-31
  2. End date — default 2026-11-30
  3. Include end date? — default No — count from start to end
  4. Press Calculate to update the results instantly.

Frequently asked questions

Sources & references