Duration in days
D = days(
returns an array of days equivalent to the values inX
)X
.
IfX
is a numeric array, thenD
is aduration
array in units of fixed-length days. A fixed-length day is equal to 24 hours.
IfX
is aduration
array, thenD
is adouble
array with each element equal to the number of fixed-length (24-hour) days in the corresponding element ofX
.
Thedays
function converts betweenduration
anddouble
values. To display a duration in units of days, set itsFormat
property to'd'
.
days
creates fixed-length (24 hour) days. To create days that account for Daylight Saving Time shifts when used in calendar calculations, use thecaldays
function.