FUNCTION REFERENCE
days
Duration in days, or a duration as a number of days.
Duration in days, or a duration as a number of days.
Syntax
d = days(x)Syntax
x = days(d)A day is exactly 24 hours.
Example
d = days(2) % 2 daysExample
x = days(hours(36)) % 1.5Differences from MATLAB: There are no calendar days (caldays) yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.