FUNCTION WeekOfYear : ERROR
Calculates the appropriate values of the ISO week date parts that matches the parameter uliDateTime.
WeekOfYear(JoinDateTime(2008, 12, 29, 0, 0, 0, 0)) => uiYear:=2009 , uiWeek:=1, eWeekday:=WEEKDAY.MONDAY
WeekOfYear(JoinDateTime(2010, 1, 3, 0, 0, 0, 0)) => uiYear:=2009 , uiWeek:=53, eWeekday:=WEEKDAY.SUNDAY
See: https://en.wikipedia.org/wiki/ISO_week_date
InOut: |