Date validation error message implementation.