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.
返回指定日期距离0000-01-01的天数。
0000-01-01
INT TO_DAYS(DATETIME date)
select to_days('2007-10-07'); +-----------------------+ | to_days('2007-10-07') | +-----------------------+ | 733321 | +-----------------------+