Топ-100
 

DAYOFYEAR

База данных: MySQL
Текст

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

Пример

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