MonthsBetween(Date from, Date to)

Returns the number of boundaries (beginning of month) crossed between the specified dates.

Parameters

from
The date to start.
to
The date to end.

Returns

Numeric

Examples