{{tag>Function Function_List Date_And_Time}} ====== DAY_OF_YEAR ====== ===== Description ===== Returns day of year of the provided date as an integer constant in the range 1-366 ===== Syntax ===== ''DAY_OF_YEAR (date)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute of the Date type or date constant or calculation producing a date ===== Returns ===== **Number**: the day of the year of the date (1-366) ===== Example ===== IF DAY_OF_YEAR (Account.OpeningDate) = 250 THEN ... ===== Related ===== [[ref:a_f:f:af:current_day_of_year|CURRENT_DAY_OF_YEAR]], [[ref:a_f:f:af:day_of_month|DAY_OF_MONTH]], [[ref:a_f:f:af:year|YEAR]]