@CalcMgrMonthsDiff
Purpose:
Returns the months between two dates that are in the YYYYMMDD
format
Syntax:
Java Class: com.hyperion.calcmgr.common.cdf.CalendarFunctions.monthsDiff(int,int)
CDF Spec: @CalcMgrMonthsDiff(fromDate,toDate)
Note:
When using @CalcMonthsDiff
, if the first date is later than the second date in the function, then a negative number is returned. if the first date is before the second date in the function, then a positive number is returned. If you want to return only positive numbers, then use @CalcMgrMonthsBetween.