ADVERTISEMENT
Top Leaderboard Banner Slot (728x90 / Mobile 300x250)
Days Between Dates Calculator
Find out exactly how much time has passed or will pass between two specific dates.
0 Days
Start
0 Days
End
Weeks & Days
0
Months & Days (Approx)
0
Years, Months, Days
0
How it works
ADVERTISEMENT
In-Content Banner Slot (728x90 / 336x280)
Difference in ms = Date2 - Date1
Days = Difference in ms / (1000 * 60 * 60 * 24)
If inclusive: Days = Days + 1
Days = Difference in ms / (1000 * 60 * 60 * 24)
If inclusive: Days = Days + 1
Examples
- Jan 1 to Dec 31 (same year): 364 days (exclusive) / 365 days (inclusive)
- Leap Year Feb 28 to Mar 1: 2 days (inclusive)
- 10 Years exact: 3652 days (including 2 leap years)
Frequently Asked Questions
What does "Include end date" mean?
Standard date math calculates the boundaries (e.g. Monday to Tuesday is 1 day). If you want to count both Monday AND Tuesday as full days (like for booking a hotel or counting days worked), you check this box to add 1 day to the result.
Does this account for leap years?
Yes! By relying on native browser date objects, leap years are perfectly accounted for.
How are months calculated?
For the "Months & Days" approximation, a month is calculated as roughly 30.44 days on average. The "Years, Months, Days" uses precise calendar stepping.
Does time zone matter?
Dates are calculated based on UTC midnight, so local time zone shifts (like Daylight Saving Time) won't accidentally add or subtract hours that might alter the day count.