Duration in days
D = days(X)
D = days(
returns
an array of days equivalent to the values in X
)X
.
If X
is a numeric array, then D
is
a duration
array in units of fixed-length days.
A fixed-length day is equal to 24 hours.
If X
is a duration
array,
then D
is a double
array with
each element equal to the number of fixed-length (24-hour) days in
the corresponding element of X
.
The days
function converts between duration
and double
values.
To display a duration in units of days, set its Format
property
to 'd'
.