Skip to main content

Date Difference Calculator

Days between two local calendar dates. If the end is before the start, the result is signed negative.

Rated 4.7 out of 5 based on 640 reviews

Results

How to count days between dates

  1. Pick a start date and an end date.
  2. Read whole days, weeks, hours (24-hour days), then years, months, and days.
  3. Inclusive days is whole days plus one, for counting both endpoints.
  4. Times of day are not part of this page. Use duration for hours and minutes.

Date difference

Civil calendar span between two dates

DaysWhole local midnights from start to end
Y/M/DSame span broken into years, months, and leftover days
InclusiveWhole days plus one

Days between two dates

This page counts the civil span between two YYYY-MM-DD dates on a local calendar. If the end is before the start, the day count is negative. Inclusive days is the exclusive span plus one, the usual 'both dates count' hotel or leave tally.

Years, months, and days

The Y/M/D breakdown is the same civil remainder used on the age calculator: years first, then months, then days, borrowing from the previous month when needed. It is not a 30-day commercial month or an average year of 365.25 days.

Weekends and holidays

This page does not skip weekends or public holidays. A business-day count needs a calendar this tool does not ship. Time of day and named zones belong on the time zone converter.

Date difference questions

Does this page upload what I type?
No. The work runs in the page you opened. CZNull does not receive the input.
Do both dates count?
Days is the exclusive span. Inclusive days adds 1 so both calendar dates are counted.
Invalid date such as 31 April?
Rejected. Only real Gregorian calendar dates are accepted.
Does this use UTC?
No. Dates are civil YYYY-MM-DD values without a time zone.
Can I enter times?
Not on this page. Use the time duration calculator for hours and minutes, or Unix time for instants.