JESUS CHRIST IS THE ONLY TRUE GOD
Everyday life calculator

Date Difference Calculator

Calculate the signed and absolute number of whole calendar days between two valid dates.

Your calculationPrivate in your browser
Report a result

Measure the elapsed days between two dates

From February 28 to March 1 in 2024, two days elapse because February 29 is in the interval. For the same month and day in 2025, one day elapses.

The start date is day zero, so matching dates give zero. To count both calendar dates for a reservation or roster, add one to the nonnegative elapsed-day count. Reverse the dates to see a negative difference.

Date Difference Calculator formula

Day difference=(end UTC date−start UTC date)/86,400,000 milliseconds.

Inputs and units

Inputs and example values for Date Difference Calculator
InputFormat / rangeExample
Start dateCalendar date2026-01-01
End dateCalendar date2026-10-06

Worked example

The values listed in Inputs and units give 278 days for Date difference.

Date difference
278 days
Absolute day difference
278 days
Weeks
39.7143

Results and assumptions

The difference is the end date minus the start date. Calendar-day counts are independent of your time zone and daylight saving time.

Fix an input or unexpected result

See how to check a result or report an issue.