Inclusive and exclusive day counting
A difference measures the gap
The ordinary date difference from October 1 to October 4 is three days. It measures the number of day boundaries between the dates.
Inclusive counting includes both dates
If a booking or activity includes October 1, 2, 3 and 4, the inclusive count is four. Choose the convention that matches the task and state it clearly.
Rules may add other conditions
Business-day deadlines can exclude weekends or holidays and may have special cutoff times. RSDateSpan does not apply those rules; it reports a calendar count using the selected convention.
Count a short interval manually
From October 1 to October 4, the transitions are 1→2, 2→3 and 3→4: three days. Listing the dates themselves gives October 1, 2, 3 and 4: four dates. The inclusive option adds one to the difference to reflect the latter convention.
Check the same-day case
Using the same start and end date produces zero days in difference mode and one date in inclusive mode. Choose the convention that matches the question before interpreting the result. A stay, a dated list and a timed appointment can require different descriptions.
Try and verify the workflow
October 1 to October 4 is a three-day difference. Counting both calendar dates inclusively gives four days.
Open date difference calculator