THE NUMBERS, EXPLAINED
How to use this calculator.
Uses calendar dates at UTC midnight and excludes the starting day. Earlier end dates return negative elapsed days.
Start with your inputs
Enter start date (yyyy-mm-dd), end date (yyyy-mm-dd). Keep amounts in the units shown on each field. The example is a starting point, not a recommended value.
| Input | Example value |
|---|---|
| Start date (YYYY-MM-DD) | 2026-01-01 |
| End date (YYYY-MM-DD) | 2026-01-11 |
A worked example
With the example inputs above, elapsed calendar days is 10. Change the inputs to explore your own scenario.
| Result | Example answer |
|---|---|
| Elapsed calendar days | 10 |
How this is calculated
Elapsed calendar days
(UTCdate(b)-UTCdate(a)) ÷ 86400000
Symbols and units
- a
- Start date (YYYY-MM-DD)
- b
- End date (YYYY-MM-DD)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Calculation steps and notation
UTCdate(date) represents midnight UTC on that calendar date in milliseconds. Divide a difference by 86,400,000 for elapsed days; no daylight-saving adjustment is involved.
Assumptions and limits
Uses calendar dates at UTC midnight and excludes the starting day. Earlier end dates return negative elapsed days.
Calculations use the values you enter. Blank or invalid inputs show an error instead of silently substituting zero. Results are displayed to useful precision; calculations retain the underlying numeric precision.
Questions about this tool
What does the result tell me?
Elapsed calendar days. The result applies to the method and inputs described above. Check the units and assumptions before using it in a decision.
Why might another calculator differ?
Differences in units, rounding, timing or model definitions can produce different answers. Compare the input definitions and the method, rather than only the final number. For this tool: Uses calendar dates at UTC midnight and excludes the starting day. Earlier end dates return negative elapsed days.
Are my inputs stored or sent to AI?
Calculations on this page happen in your browser. The separate AI question finder sends its submitted conversation to OpenAI; these calculator fields are not sent. Favourites and recent tool names are stored locally. A shared link contains the inputs you choose to include.
Review status
Software example and browser checks are recorded in our quality report. No external expert review is claimed. Created with coding assistance; calculations run as ordinary browser code.
Read the quality report →