c = caldays(x)
| Parameter | Description |
|---|---|
| inputs | Numeric day counts. |
| Parameter | Description |
|---|---|
| output | A calendarDuration array with day components. |
Create calendar durations containing whole days.
caldays stores values in the day component of calendarDuration. For fixed elapsed 24-hour durations, use days instead.
Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.
datetime(2024, 1, 1) + caldays(3)
| Version | Description |
|---|---|
| 2.0.0 | initial version |