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.
- Set Start / calendar date.
- Set End date (excluded for day counts).
- 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.