@CalcMgrDateDiff

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.dateDiff(int,int,String)

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

Note:

@CalcMgrDateDiff returns only positive numbers. If you want to return a negative number if it applies, then use @CalcMgrDiffDate.