DAYOFYEAR function (ODBC compatible)
Syntax
DAYOFYEAR ( date_expression )
Description
The scalar function DAYOFYEAR returns the day of the year in the argument as a short integer value in the range of 1 - 366.
Example
SELECT *
FROM orders
WHERE DAYOFYEAR (order_date) = 300 ;
Notes