Days between dates
Count calendar days between two dates, with either endpoint rule.
Your inputs
Result
How it works
Dates are compared as calendar days, so daylight-saving changes do not affect the count.
Example · March 1 to March 8 is seven elapsed days, or eight including both dates.
How to use this tool
- Choose the two dates on your calendar and decide whether the first day counts toward your total.
- Select Calculate and read the units beside the answer. If you get a validation message, check the indicated field and run the calculation again.
- Compare the result with the dates or shift times on your calendar. To see how a boundary is counted, repeat the example after moving one input by a day or one shift by an hour.
Common questions
How do I count a stay that starts and ends on the same date?
Choose elapsed days for the number of midnights crossed, or include both dates for the calendar dates occupied. A same-day visit therefore spans zero elapsed days but uses one calendar date.
Which example can I check myself?
From February 28 to March 1 in leap year 2024, two days elapse because February 29 lies between the endpoints.
Are the values I enter included when I share this page?
You can share the page address without including the values you entered or the result. The calculation takes place in your browser. To share a particular result, record the inputs, units and answer separately so the recipient can reproduce it.