months
- :
mm =months(d1, d2)¶ - :
mm =months(d1, d2, eom)¶ Number of whole months between dates d1 and d2.
eom is 1 (default) or 0 and controls whether an end-of-month end date counts as a whole extra month. A single numeric argument raises
MATLAB:months:oneInputSuggestCalMonths(usecalmonthsto build calendar durations).