#### 8.2.3.2 calendarDuration.datevec ¶

Method: `[dvec] =` datevec `(obj)` ¶
Method: `[Y, M, D, H, MN, S] =` datevec `(obj)` ¶

  Convert a `calendarDuration` to a datevec whose elements represent its components of. The components are the year, month, day, hour, minute, and second quantities of this `calendarDuration`.

  When nargout is 0 or 1, returns a double array of size n-by-6, where n is `numel(obj)`. When nargout is 2 or more, returns double arrays the same size as obj.