A little context.
Default counting measures elapsed days. Inclusive counting adds one day in the direction of the interval and counts the same date as one day.
Choosing whether both boundary dates count
For elapsed time, the interval from Monday to Tuesday is one day. For an attendance list that includes both dates it is two. Select the convention your task requires before comparing the result with another system.
Interpreting the result and avoiding mistakes
Including both dates changes a same-day interval from zero to one. Reversed dates give a negative interval. Business days, school calendars and hotel-night rules are separate conventions that this calculator does not model.
A reproducible workspace example
These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.
- Start date
2026-01-01
- End date
2026-01-31
- Counting
Exclude end day
Calculated output
30 days
Quick reference
Jan 1 to Jan 31 = 30 elapsed daysHow to use this tool
- Enter start date, end date, counting in the workspace above.
- Select Run tool to process your input. Invalid values produce a message next to the form.
- Copy the result or download it as a file. Reset example restores the original input.