Days between dates

Count the days between two dates.

Choose two dates to count the days.

Preparing your result.

Tell us what happened and what you expected. Please leave out personal information and private tool inputs.

These details describe your setup. They don’t include your name, email, or anything entered into the tool.

See the details included

Voting-limit status from this browser is included. Reports are stored by Netlify so I can investigate.

Count the gap or count the dates

February 28 to March 1, 2024 is a gap of 2 days because February 29 is a leap day. Counting both dates gives 3 calendar dates.

The same date entered twice gives zero days between dates, or one day with both dates included.

Calendar days are not working days

The calculation uses the Gregorian calendar for years 1 through 9999. It includes Saturdays, Sundays, and holidays, and applies Gregorian leap-year rules throughout that range. Historical local calendar changes are outside its scope.

A deadline may follow a different counting rule. Check whether the organization counts the starting date and excludes holidays. To move forward or backward by a known number of days, use the date calculator.

FAQs

Does the first date count?

By default, no. January 1 to January 2 is one day. Select Include both dates to count both dates, making that example two days.

What happens if I reverse the dates?

The size of the gap stays positive, and the result says the date order is backward. The inclusive setting still adds one day.

Do clock changes affect the answer?

No. This compares calendar dates without a local time zone. A day when clocks move forward or backward still counts as one calendar day.

Have an idea for a tool I should add? Send it in. I read every suggestion and choose which ones to build next.

For example: "Count the weekdays until a date, without holidays."

Please don't include your name, email, or anything personal. I don't need it. Voting-limit status from this browser is included.