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.
返回指定日期的工作日索引值,星期一为0,星期日为6。
INT WEEKDAY(DATETIME date)
date
MySQL > select weekday('2023-01-01'); +-----------------------+ | weekday('2023-01-01') | +-----------------------+ | 6 | +-----------------------+