Топ-100
 
CerebroSQL

DAYOFYEAR

Database: MySQL

68747470733a2f2f7374796c65732e7265646469746d656469612e636f6d2f74355f32716d366b2f7374796c65

Topic

Syntax:
DAYOFYEAR(date)

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

Example

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