Date of birth validation example