SYNTAX

<DateTime>.dayOfYear

<Date>.dayOfYear

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

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

The following Rulesheet uses .dayOfYear to assign a value to string1.