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 weekday index for a given date.
INT WEEKDAY(DATETIME date)
date
MySQL > select weekday('2023-01-01'); +-----------------------+ | weekday('2023-01-01') | +-----------------------+ | 6 | +-----------------------+