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 days

Example

x = days(hours(36))   % 1.5

Differences 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.