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.
按 ISO 标准返回指定日期对应的周几(1-7),其中 1 代表星期一,7 代表星期日。
1
7
INT DAY_OF_WEEK_ISO(DATETIME date)
date
2023-01-01
MySQL > select dayofweek_iso('2023-01-01'); +-----------------------------+ | dayofweek_iso('2023-01-01') | +-----------------------------+ | 7 | +-----------------------------+