@CalcMgrGetDatePart
Purpose:
Returns the Year/Month/DayOfMonth/WeekOfYear/WeekOfMonth/DayOfYear as a number from a date that is in the YYYYMMDD format. "date_part_ex" can be: "dayofmonth", "dayofyear", "month", "weekofmonth", "weekofyear", or "year"
Syntax:
Java Class: com.hyperion.calcmgr.common.cdf.CalendarFunctions.datePart(Double,String)
CDF Spec: @CalcMgrGetDatePart(date, date_part_ex)