DAYOFYEAR
DAYOFYEAR function (Date & Time) returns an integer representation of the day of the year for date d.
Syntax
DAYOFYEAR(d)
Description
Returns an integer representation of the day of the year for date d.
Example
DAYOFYEAR(TO_DATE(‘2011-05-30’, ‘yyyy-MM-dd’))
This example returns the value 150 as the day of the year for the specified date.