Add validation for Date type