CDF @CalcMgrGetDatePart

Returns the Year/Month/Week/Day/DayOfYear/Weekday as a number from date which is in the YYYYMMDD format.
com.hyperion.calcmgr.common.cdf.CalendarFunctions.datePart(int,String)
@CalcMgrGetDatePart(date,date_part_ex)