fn convert_datetimes_to_seconds(vector: &VectorRef) -> Vec<Option<i64>>