From a date/time object, determines the week number within the year. An integer in the range 1-53; the ordinal of the week, within the year.
week(date) → returns numeric
week(date)
→ returns numeric
date.week()
gregorian
iso
dt = createdatetime(2016,1,1,5,30,25); w = week( dt ); writeoutput( w );
Expected Result: 1