Type: Function
Function: DAY_OF_YEAR
Syntax: DAY_OF_YEAR(datetime)
Description: Returns the day of the year (between 1 and 366) for the provided datetime.
Sample usage:
DAY_OF_YEAR(created_at)
returns the day of the year for thecreated_at
field valueDAY_OF_YEAR(DATE(2023, 08, 27))
is equal to239