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到53之间的整数。
1
53
INT WEEK_ISO(DATETIME date)
date
2008-02-20 00:00:00
MySQL > select week_iso ('2008-02-20 00:00:00'); +-----------------------------------+ | week_iso('2008-02-20 00:00:00') | +-----------------------------------+ | 8 | +-----------------------------------+