Count the days from one date to another, exclusive or inclusive.
Count the days from one date to another, exclusive or inclusive.
Enter values above and click Calculate — results will appear here with the formula explained.
Counting days hides a fork in the road. Elapsed time from March 1 to March 10 is nine days — you cross nine midnights. But a trip departing March 1 and returning March 10 lasts ten calendar days. Both are right; they answer different questions.
Deadlines, interest and age math use elapsed counting. Hotel stays, rental periods and vacation requests use inclusive counting. Choosing deliberately prevents off-by-one arguments later.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
Days Between Dates Calculator: Count the days from one date to another, exclusive or inclusive. Formula: elapsed days = (end − start) ÷ 86,400,000 ms. Example: March 1 → March 10: nine elapsed days, but ten days counted inclusively — the classic booking-vs-deadline distinction.
Counting days hides a fork in the road. Elapsed time from March 1 to March 10 is nine days — you cross nine midnights. But a trip departing March 1 and returning March 10 lasts ten calendar days. Both are right; they answer different questions.
Deadlines, interest and age math use elapsed counting. Hotel stays, rental periods and vacation requests use inclusive counting. Choosing deliberately prevents off-by-one arguments later.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
March 1 → March 10: nine elapsed days, but ten days counted inclusively — the classic booking-vs-deadline distinction.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID