Method Reference: calendarDuration.time

calendarDuration: T = time (calD)

Return time portion of calendarDuration array.

T = time (calD) returns a duration array T with the time portions of the calendarDuration array calD.

Source Code: calendarDuration

Example: 1

time extracts the time-of-day part as a duration, discarding the calendar (year/month/day) part.

 d = calendarDuration (0, 1, 2, 6, 30, 0)
d =
  calendarDuration

   1mo 2d 6h 30m 0s
 time (d)
ans =
  duration

   06:30:00