_months_between

Returns a positive or negative integer number representing the number of months between "date_expression1" and "date_expression2". If "date_expression1" is earlier than "date_expression2", then a negative number is returned.

Syntax

_months_between ( date_expression1, date_expression2 )

Example

_months_between ( 2002-04-03 , 2002-01-30 )

Result

2