skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : Week of month
 

Try Corticon Now

Week of month

SYNTAX

<DateTime>.weekOfMonth
<Date>.weekOfMonth

DESCRIPTION

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.

USAGE RESTRICTIONS

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

RULESHEET EXAMPLE

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

SAMPLE TEST