The validation of date is fixed