Why adding it up by hand goes wrong
Two things make this harder than it looks. The first is month lengths: from 31 January to 1 March is one month and one day in a non-leap year, and any calculation that treats a month as thirty days gets a different answer. The second is overlaps - two concurrent roles, or a start date that precedes the previous role's end date by a fortnight.
Both are handled explicitly here. Durations use real calendar months, and overlapping periods are either counted once or added together depending on which you choose, with the merged periods shown so you can see what was actually counted.