Days Between Dates Calculator

Count elapsed calendar days between two dates.

Enable JavaScript to use this calculator. Your inputs stay in this browser.

Formula / Calculation Method

Days = difference between UTC calendar midnights / 86,400,000.

Example Calculation

2024-02-28 to 2024-03-01 spans 2 days.

Understanding the Result

Daylight-saving changes do not alter calendar-day counts. The optional inclusive setting adds the start day.

What is the Days Between Dates Calculator?

Count elapsed calendar days between two dates.

How to Use

Enter the earlier and later dates. Choose elapsed days or include both dates.

Select Calculate after entering your values. Text tools update as you type. Reset restores the starting fields.

Interpreting the Calculation

Elapsed days measures the distance between the dates. Inclusive counting counts the start date as well, so equal start and end dates give one inclusive day and zero elapsed days.

Common Questions

Do daylight-saving changes affect the count?

No. The tool compares calendar midnights in UTC for arithmetic, avoiding local clock changes.

What assumptions does this tool use?

Daylight-saving changes do not alter calendar-day counts. The optional inclusive setting adds the start day.

Related Calculators