Finding the discount period in months