%% Convert Time of Calendar Durations to Durations
% Create an array of calendar durations.

d = caldays(8:10) + hours(1.2345)

%
% Convert the time components of the array to durations.

t = time(d)

%
% View the data type of t.

whos t

% Copyright 2015 The MathWorks, Inc.