Fixed the days calculator.