SYNTAX

<DateTime>.weekOfMonth

<Date>.weekOfMonth

Returns an Integer from 1 to 6, equal to the week number within the month in <DateTime> or <Date>. A week begins on Sunday and ends on Saturday.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses .weekOfMonth to assign a value to integer1.