Time & dates

Days between dates

Count the days. A simple way to see the space between two dates.

Your result—

How it works

Days between dates

The default counts the calendar-day distance. Inclusive mode adds one: the same date yields zero normally or one inclusively. Calendar arithmetic avoids device time-zone and daylight-saving offsets.

How to use this tool

  1. Select two valid calendar dates. Enable inclusive counting when both endpoint dates should count.
  2. Calculate and read the number of days. Reversing the dates keeps the same absolute distance.

Understanding the result

The default counts the calendar-day distance. Inclusive mode adds one: the same date yields zero normally or one inclusively. Calendar arithmetic avoids device time-zone and daylight-saving offsets.

Worked examples

2024-02-28 → 2024-03-01: 2

2024-02-28 → 2024-03-01: 3 (+1)

2024-03-01 → 2024-03-01: 0

Good to know

Calendar days, not 24-hour periods. Leap years are included; holidays and business days are not filtered.

This is not elapsed hours, working days or a holiday calculation. Dates range from year 1 to 9999. Make the inclusion convention explicit when comparing a result with another system.

A few quick answers

Does a leap day count?

Yes. From 28 February to 1 March 2024 the distance is two days, or three dates with inclusive counting.

Sources and implementation

Implementation for this tool: UTC · calendar days

    Maintained by Chpl Limited · Updated:

    A little break from ads.

    Choose to view a rewarded ad and get 24 ad-free hours in this browser. No payment or account required.

    There are no rewarded ads available right now. All tools are still free to use.

    Optional advertising is off. If enabled later, it will only load after your choice. Tool inputs are never sent to analytics.