added DOB validation for dates

added validation to make sure DOB is date