calendarDuration.caldays
calendarDuration: X = caldays (calD)
Calendar duration in days.
X = caldays (calD) returns a numeric array with the
number of days as represented in calD.
caldays is also available as a function, in which case it performs
the opposite conversion.
See also: calendarDuration.calyears, calendarDuration.calquarters, calendarDuration.calmonths, calendarDuration.calweeks, caldays
Source Code: calendarDuration
As a calendarDuration method, caldays returns the day part of the span as a whole number of days.
d = calendarDuration (2, 3, 40)
d = calendarDuration 2y 3mo 40d
caldays (d)
ans = 40