@CalcMgrDiffDate

Purpose:

Returns the difference (number) between two input dates, in YYYYMMDD format, in terms of the specified date-parts, following a standard Gregorian calendar

Syntax:

Java Class: com.hyperion.calcmgr.common.cdf.CalendarFunctions.diffDate(int,int,String)

CDF Spec: @CalcMgrDiffDate(fromDate,toDate,datePart)

Note:

When using @CalcMgrDiffDate, 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 @CalcMgrDateDiff.