Date Difference Calculator

Calculate the days between two dates, with whole weeks, remaining days, leap-year handling, and clear endpoint-counting rules.

Find the calendar-day difference between two dates.

TimeDatesEnglish

Result: Enter two dates and calculate.

How to compare two dates

  1. Select a start date and an end date.
  2. Select Calculate to see the total calendar days and the equivalent whole weeks plus remaining days.
  3. After changing either date, calculate again. Reset restores the example dates.

How it works

The calculator converts each date to a UTC calendar date and counts the calendar-day boundaries between them. UTC arithmetic keeps daylight saving changes from adding or removing a day. This is not the elapsed number of hours between two local timestamps.

Example: October 1 to October 15 is 14 days, or exactly 2 weeks.
Important limitation

This is a calendar-day difference. It does not count both endpoint dates inclusively and does not calculate business days.

Common questions

Are both dates included?

No. October 1 to October 15 is 14 days; counting every date including both endpoints would give 15. For an inclusive count, add one to the displayed difference. The same date produces a difference of zero.

What happens if the end date comes first?

The tool shows a positive distance between the dates and a direction note. Swapping the dates does not change the distance.

Does the calculation include February 29?

Yes, in leap years. February 28 to March 1, 2024 is two days; the same interval in 2025 is one day. Invalid dates are rejected instead of being rolled into the next month.

Can I use this for workdays or historical calendars?

Weekends and holidays are included. Dates use Gregorian calendar rules for years 0001 through 9999, including years before a country adopted that calendar. For hours and minutes, use the Time Difference Calculator below.

Related tools