Date Difference Calculator
Count calendar days and whole weeks between dates with an inclusive-end option.
Results
Principal or depositsInterest
Enable JavaScript for live results. The formula and example are below.
How it works
Elapsed days = (UTC end-date midnight − UTC start-date midnight) / 86,400,000. Add one for an inclusive count. Split into whole weeks and remaining days.
Example 28 February to 1 March 2024 spans two elapsed days or three included calendar dates.
Assumptions No local-clock or daylight-saving adjustment. End date must be on or after start date. This counts calendar days, not business days or legal deadlines.
Frequently asked questions
Does this count holidays?
All dates count equally. Business-day and court-deadline rules are outside this tool.
Why does an inclusive count add a day?
Elapsed subtraction measures boundaries crossed. An inclusive count includes both named endpoint dates, so even equal dates count as one calendar date.