How it works
Subtract the start calendar date from the end date. The start date is excluded from the count. Reversing the dates gives a negative result.
Example
November 30 to December 7 = 7 days.
Find the signed number of calendar days between two dates.
Subtract the start calendar date from the end date. The start date is excluded from the count. Reversing the dates gives a negative result.
November 30 to December 7 = 7 days.