Топ-100
 
CerebroSQL

DAYOFYEAR

Database: MySQL
Topic

Syntax:
DAYOFYEAR(date)

Returns the day of the year for date, in the range 1 to 366.

URL: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html

Example

mysql> SELECT DAYOFYEAR('2007-02-03');
-> 34