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

Try Corticon Now

Day

SYNTAX

<DateTime>.day
<Date>.day
`

DESCRIPTION

Returns the day portion of <DateTime> or <Date> as an Integer between 1 and 31.

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 .day to assign a value to string1 and post a message.

SAMPLE RULETEST

A sample Ruletest provides dateTime1 values for three examples. Input and Output panels are shown below. Posted messages are not shown.