Skip to content
Runs privately in your browser

Free Online Days Between Dates

Count elapsed calendar days, excluding the end date.

Your input stays on this device. Processing is bounded; regex runs in a worker with a two-second timeout.

Result

How to use Days Between Dates

Count elapsed calendar days, excluding the end date. Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

  1. Set Start / calendar date.
  2. Set End date (excluded for day counts).
  3. Run the tool, review the result and its stated limitations, then copy or download if needed.

Example & practical use

Count elapsed calendar days, excluding the end date. The example below demonstrates Start / calendar date; End date (excluded for day counts).

Example input:
{
  "date": "2023-02-28",
  "end": "2023-03-01"
}
Expected result (relevant fields):
{
  "days": 1
}

Features & result limitations

Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

Frequently asked questions

What inputs does Days Between Dates accept?

Start / calendar date; End date (excluded for day counts)

How should I interpret the Days Between Dates result?

Calendar dates use Gregorian rules. Instants require an explicit UTC offset; Unix timestamps use seconds, not milliseconds. Endpoints and timezone choices are shown beside the controls.

Where does Days Between Dates process my data?

Inputs are processed locally in your browser. Submitted text is not sent to external services. A successful-run event increments an aggregate tool counter without your input.