Include the end date or not?
By default the tool counts like a subtraction: Monday to Tuesday is 1 day. For holidays, hotel stays or contract periods people often count both ends: tick "Include the end date" to add 1.
How months are counted
Months follow the calendar: 15 March to 15 May is exactly 2 months. If you start on a month-end such as 31 January, the next month has no 31st, so it uses the last day: 31 January plus 1 month is 28 February (29 in a leap year).
Years are approximated by dividing the days by 365.2425, the average length of a Gregorian year.
Working days
Working days are Monday to Friday. Public holidays aren't removed, so subtract them yourself if your range includes any.
