@CalcMgrWeeksDiff

Purpose:

Returns the weeks between two dates that are in the YYYYMMDD format

Syntax:

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

CDF Spec: @CalcMgrWeeksDiff(fromDate,toDate)

Note:

When using @CalcMgrWeeksDiff, 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 @CalcMgrWeeksBetween.