Calculating hours per month given a start and end date