Days between dates
Count calendar days with an option to include both dates.
Calculation inputs
Calendar days
Full weeks 0
QR code
How the calculation works
Subtract the start date’s calendar day number from the end date’s. The standard difference is zero for two identical dates. Selecting “Include both dates” adds one day. The calculation uses the Gregorian calendar, including leap years. Time of day, time zones, workdays and holidays are outside this calculation.
Example
February 28 to March 1, 2024 is 2 days, or 3 if both dates are included.
Gregorian leap-year rule — RFC 3339Method checked