Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the day of the year for a given date.
date
INT DAYOFYEAR(DATETIME|DATE date)
MySQL > select dayofyear('2007-02-03 00:00:00'); +----------------------------------+ | dayofyear('2007-02-03 00:00:00') | +----------------------------------+ | 34 | +----------------------------------+