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.
计算指定时间为一年中的第几周。
INT WEEKOFYEAR(DATETIME date)
select weekofyear('2008-02-20 00:00:00'); +-----------------------------------+ | weekofyear('2008-02-20 00:00:00') | +-----------------------------------+ | 8 | +-----------------------------------+