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

Try Corticon Now

Day of year

SYNTAX

<DateTime>.dayOfYear
<Date>.dayOfYear

DESCRIPTION

Returns an Integer from 1 to 366, equal to the day number within the year.

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 .dayOfYear to assign a value to string1.

SAMPLE RULETEST