assert_date_vector function

Is an object a date or datetime vector?