Checking an incorrect digit in the month part of the date