DayOfYear
- get ordinal number of day in a year

Date/Time
(AmiBroker 4.40)


SYNTAX DayOfYear()
RETURNS ARRAY
FUNCTION Returns the calendar day number counting from beginning of the year January 1st is 1. Maximum number returned is 366
EXAMPLE Filter=1;
AddColumn(DayOfYear(),"Day of Year");
SEE ALSO DAYOFWEEK() function

References:

The DayOfYear function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.