DB2 Scalar functions - DAYOFYEAR
Returns the day of the year in the argument as an integer value in the range 1-366.
The schema is SYSFUN.
The result of the function is INTEGER. The result can be null; if the argument is null, the result is the null value.