How it works
The dates are treated as calendar dates at midnight UTC, so daylight-saving changes do not alter the day count. January 1 to January 2 is 1 day. Equal dates give 0 days.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Start date | January 1, 2026 | Choose a valid calendar date. |
| End date | October 8, 2026 | Choose a valid calendar date. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Start date
- January 1, 2026
- End date
- October 8, 2026
Complete example results
- Days between dates
- 280
- Weeks
- 40
Reading the result
Elapsed calendar time differs from completed years or months. Check interval endpoints, leap-year conventions and any working-day scope.
Count elapsed days rather than dates touched
From 28 February 2024 to 1 March 2024, two days elapse because 29 February exists in that leap year. From 28 February 2025 to 1 March 2025, only one day elapses. The start date is not an additional counted day, so identical start and end dates return zero.
Read a negative interval as a reversed order
From 1 March 2024 back to 28 February 2024, the result is −2 days. The weeks row divides the day difference by 7; it is an elapsed duration, not the number of named calendar weeks touched. Weekends and holidays stay in the count, and the date calculation uses UTC to avoid daylight-saving hour changes.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
Does this count working days?
No. It counts every calendar day, including weekends and holidays. If the end date precedes the start date, the difference is negative.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.