Returns the week of the provided date as an integer constant in the range 1-52
Attribute of the Date type or date constant or calculation producing a date
IF WEEK (Account.OpeningDate=50) THEN ...