skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : Day of week
 

Try Corticon Now

Day of week

SYNTAX

<DateTime>.dayOfWeek
<Date>.dayOfWeek

DESCRIPTION

Returns an Integer between 1 and 7, corresponding to the table below:
returned Integer
day of the week
1
Sunday
2
Monday
3
Tuesday
4
Wednesday
5
Thursday
6
Friday
7
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 .dayOfWeek to assign a value to boolean1.

SAMPLE RULETEST