#5 Fixed date format validation so that it enforces the number of digits in each element of the date.