Scopo:
Restituisce il valore Year/Month/DayOfMonth/WeekOfYear/WeekOfMonth/DayOfYear
sotto forma di numero in base a una data in formato AAAAMMGG
. "date_part_ex" può essere: "dayofmonth", "dayofyear", "month", "weekofmonth", "weekofyear" o "year"
Sintassi:
Java Class: com.hyperion.calcmgr.common.cdf.CalendarFunctions.datePart(Double,String)
CDF Spec: @CalcMgrGetDatePart(date, date_part_ex)