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
MonthsBetween(#2012-01-01#, #2011-12-31#)
returns 1.MonthsBetween(#2013-08-10#, #2013-01-14#)
returns 7.