Returns a number from 1 to 5 indicating which week of the month this date falls in.
function (optional
dateTime
as nullable any, optionalfirstDayOfWeek
as nullable any) as nullable any
Returns a number from 1 to 5 indicating which week of the year month the date dateTime
falls in.
Date
Determine which week of March the 15th falls on in 2011 (#date(2011, 03, 15)
).
Date.WeekOfMonth(#date(2011, 03, 15))
3