Days Between Dates Calculator
Calculate the exact number of days, weeks, months, and years between any two dates. Shows business days and calendar days separately.
Built by Michael Lip
Frequently Asked Questions
How do I calculate days between two dates?
Enter your start date and end date, then click Calculate. The tool shows the exact number of calendar days, weeks, months, and years between the two dates.
Does the calculator include the end date?
The calculator counts the number of days from the start date up to but not including the end date. This is the standard mathematical difference. Add 1 if you want to include both endpoints.
Can I calculate business days between dates?
Yes. The result shows both calendar days and an approximate business day count (excluding weekends). For exact business day calculations including holidays, note that holidays vary by country.
How do I enter dates?
Enter dates in any common format: YYYY-MM-DD (2025-04-02), MM/DD/YYYY (04/02/2025), or natural language (April 2, 2025). The date picker also lets you select dates visually.
How It Works
This tool runs entirely in your browser using vanilla JavaScript. No data is sent to any server. All conversions and calculations happen locally on your device, ensuring complete privacy.
EpochPilot uses the browser's built-in Intl.DateTimeFormat API and the IANA timezone database provided by your operating system. This means timezone conversions are always accurate, including Daylight Saving Time transitions.
Related Tools
Privacy
Everything runs locally in your browser. No timestamps, dates, or personal data are transmitted to any server. The source code is open on GitHub.
Contact
EpochPilot is built and maintained by Michael Lip. For questions or feedback, email [email protected].