A WORKED STARTING POINTSee the working.
Inputs used in this example
These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.
| Input | Example value |
|---|
| Start date | 2026-01-01 |
|---|
| End date | 2026-10-21 |
|---|
| Count both start and end dates | Off |
|---|
Calendar days
293 days(End midnight UTC − start midnight UTC) ÷ 86,400,000
- Calendar span: 0 years, 9 months, 20 days.
- Complete weeks: 41; remaining days: 6.
- Calendar span uses a month-end clamp and excludes the extra inclusive endpoint. UTC calendar dates avoid daylight-saving shifts.
Decide whether both endpoints should count
Elapsed calendar days and an inclusive count answer different questions. A span from 1 January to 2 January is one elapsed day, or two dates if both endpoints count. This tool compares calendar dates in UTC to avoid daylight-saving changes turning a day into 23 or 25 clock hours. Use business-day tools when weekends or supplied holidays should be excluded.
Your inputs stay here
Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.
Methods and public data ↗