ok.OK UtilityA LITTLE EVERYDAY MAGIC

Date Difference Calculator

Date Difference Calculator: Count signed calendar days between two dates and inspect the complete calendar interval.

Enter your calculation

How to use Date Difference Calculator

Find the signed count of calendar days between dates and a separate calendar interval. The start day is excluded.

  1. Choose the Start date.
  2. Choose the End date, noting that reversing them produces a signed difference.
  3. Calculate and compare total days with the separate complete-calendar interval.

Example: Using Start date = 2026-11-19; End date = 2027-01-01, the result is 43 days.

How it is calculated: Elapsed days = end date − start date; the start day is excluded. Calendar month differences count complete months and clamp invalid month-end days.

Understanding the result

Total days is the end date minus the start date. From February 28 to March 1, 2024 is two days because the range includes February 29. Reversing the dates produces a negative interval.

Calendar months do not have a fixed length. The calendar interval advances whole months, clamping to the last valid day where needed, and then counts remaining days. It does not treat every month as a 30-day block.

Total days is a signed date-only difference. The calendar interval separately counts complete months with month-end clamping, so it is not a conversion of days using a fixed month length.

A calculation you can check

2024-02-28 to 2024-03-01 spans 2 days because February has 29 days. Reversing the dates returns -2 days.

What to check before using the answer

  • This is date-only arithmetic, not a measurement of elapsed clock hours across daylight-saving transitions.
  • The start day is excluded; adding both endpoints for an inclusive event count is a different convention.
How can I count both endpoint dates?

For an inclusive forward range, add one to the displayed day difference. The tool itself excludes the starting day.

Guidance updated . Methods and corrections

Are my inputs saved?

Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.

Can I switch to a related tool?

Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.

Search the complete directory ESC to close
Your everyday toolkit