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 month for a given date.
date
INT MONTH(DATETIME date)
MySQL > select month('1987-01-01'); +-----------------------------+ |month('1987-01-01 00:00:00') | +-----------------------------+ | 1 | +-----------------------------+