add validation tpye: Date and DateTime