Days Between Dates

Get the exact number of days between two dates, including signed, absolute, weeks+days, and inclusive counts.

Day Difference
Absolute Days
Signed Days
Weeks + Days
Inclusive Days

How to Use

  1. 1

    Pick your From Date (start) and To Date (end) from the calendars.

  2. 2

    Click Calculate Days to compute the difference.

  3. 3

    Compare signed, absolute, weeks+days, and inclusive values. Use Reset to test alternate ranges.

How It Works

Signed Days
round((To − From) ÷ 86,400,000 ms)
Absolute Days
|Signed Days|
Inclusive Days
Absolute Days + 1 (counts both start and end date)

Examples

Contract windows

Measure exact duration between signature and expiry.

Result: accurate legal timeline checks.

Project planning

Estimate elapsed or remaining days between milestones.

Result: clearer schedule tracking.

Travel duration

Calculate trip length from departure to return.

Result: better accommodation planning.

FAQ

Signed keeps direction (negative if the "to" date is before "from"). Absolute always returns the positive difference.
Inclusive count includes both the start and end dates, adding 1 to the absolute difference.
Yes. JavaScript's Date object automatically accounts for leap years when computing millisecond differences.

Did You Know?

The average month has about 30.44 days. That's why months vary between 28 and 31 days to keep the calendar aligned with Earth's orbit.

Quick Reference

1 week 7 days
1 month (avg) 30.44 days
1 quarter ~91 days
1 year 365 / 366 days