Calendar duration in days
D = caldays(X)
D = caldays(
returns
an array representing calendar days equivalent to the values in array X
)X
.
If X
is a numeric array, then D
is
a calendarDuration
array with each element equal
to the number of calendar days in the corresponding element of X
.
Calendar days account for Daylight Saving Time shifts when used in
calendar calculations.
If X
is a calendarDuration
array,
then D
is a double
array with
each element equal to the number of whole calendar days in the corresponding
element of X
.