TIME WIDGET
Days Between Dates Calculator
Calculate the exact number of days between two dates, including business days. Local-first, no signup.
LOCAL RUNTIME PRIVATE INPUTWHEN?! — Motore 05
TOTAL DAYS
—
BUSINESS DAYS
—
excludes Saturday and Sunday
What does this tool do?
Calculates the number of days between two dates, plus the count of business days (Monday–Friday). For example, from 2026-01-01 to 2026-08-12 is 223 days.
How to use it
- Pick the start date.
- Pick the end date.
- Read total days and business days instantly.
How it works
The difference is calculated from midnight to midnight in milliseconds, then converted to days: days = (end - start) / 86400000. Business days exclude Saturday (getDay() = 6) and Sunday (getDay() = 0).
Common examples
- 2026-01-01 to 2026-08-12 = 223 days
- Same dates reversed = same absolute count
- Business days for a 2-week sprint = 10
Privacy
All date calculations happen locally in your browser. No dates are sent to any server.
Frequently asked questions
- Does it account for leap years?
- Yes — JavaScript Date handles leap years natively.
- Does it count holidays?
- No — business days exclude only weekends. Public holidays vary by country and are not included.