Returns the number of months between two dates
as a Double data type. If the first date is later than the second
one, the result is positive. If the first date is earlier than the second
one, the result is negative. If both dates are the same day of a month
or are both the last day of a month, the result is an integer. Otherwise,
it is the fractional portion of the result based on a 31-day month.
|
MONTHSBETWEEN(Date_property,Date_property)
|
MONTHSBETWEEN(Start_Date, End_Date)
In this example, if Start_Date is March 1, 2007
and End_Date is April 1, 2007, MONTHSBETWEEN would return 1.
|