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 week number for a given date within a year.
date
INT WEEKOFYEAR(DATETIME date)
MySQL > select weekofyear('2008-02-20 00:00:00'); +-----------------------------------+ | weekofyear('2008-02-20 00:00:00') | +-----------------------------------+ | 8 | +-----------------------------------+