Calculating the Number of Days