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.
Obtains the day part in a date and returns a value that ranges from 1 to 31.
date
INT DAYOFMONTH(DATETIME date)
MySQL > select dayofmonth('1987-01-31'); +-----------------------------------+ | dayofmonth('1987-01-31 00:00:00') | +-----------------------------------+ | 31 | +-----------------------------------+