How it is calculated
Days = end date − start date (+1 if the end date is included). Weeks = days ÷ 7.
Frequently asked questions
Should I include the end date?
For interest on a loan, usually not. For wages or leave, where both the first and the last day count, include it.
Does it handle leap years?
Yes. The real calendar is used, so 29 February is counted in leap years.