Date difference

Count elapsed calendar days between two dates in either direction.

Gregorian civil dates from years 0001 to 9999, without time or timezone. The same date gives 0 days; an earlier end date gives a negative result. No inclusive counting or business-day calculation. Example: February 28 to March 1, 2024 = 2 days.

Your dates and times stay in your browser and are not stored.

Method and assumptions

Method version 1.0.0 · Updated

Elapsed days

Formula: End date − start date

Gregorian civil dates from years 0001 to 9999, without time or timezone. The same date gives 0 days; an earlier end date gives a negative result. No inclusive counting or business-day calculation. Example: February 28 to March 1, 2024 = 2 days.

start
Start date
end
End date

Gregorian calendar from years 0001 to 9999. Date, duration and rounding conventions are specified for each mode.