Validation for dates pt. 1.