INTERACTIVE TOOL
Date difference calculator
Loading tool…
How to use this tool
- Choose start and end dates.
- Decide whether both endpoints count.
- Check the direction of the interval.
Formula or method usedTotal days = millisecond difference ÷ 86,400,000 using UTC dates.
Worked example
From the first to the tenth, nine days elapse; including both dates counts ten.
Assumptions and limits
Weekends and holidays are not removed.
Frequently asked questions
Why do weeks and months not always align?+
Weeks always have seven days, while months vary from 28 to 31 days.
What happens to my inputs?+
Calculation inputs are processed locally in your browser. Favorites and preferences may be saved on this device. The site may perform separate network requests for live panels; these do not include the values entered into this local calculator. Do not paste secrets into public tools.
How should I check the result?+
Weekends and holidays are not removed.
