How the calculation works
Days = (end − start) ÷ 86,400,000 ms
Find elapsed calendar days and weeks. The start date is excluded; the end date is included in the difference. UTC date arithmetic avoids daylight-saving errors.
Worked example
Start date: 2026-12-01; End date: 2026-12-31
- Days: 30 days
- Weeks: 4.29 weeks
Calculations run on your device. Inputs are not sent by the calculator code.