
数据库
就这样·安安静静
这个作者很懒,什么都没留下…
展开
-
TIDB日期函数官方文档
tidb日期函数使用参考文档https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_yearweek原创 2022-02-14 11:21:47 · 1529 阅读 · 0 评论 -
TIDB日期转周函数YEARWEEK
函数介绍:YEARWEEK(date), YEARWEEK(date,mode)Returns year and week for a date. The year in the result may be different from the year in the date argument for the first and the last week of the year.传入一个日期,返回这个日期是这一年的第几周。第二个参数mode的作用是每周的第一天从哪一天开始计算一般情况下,我们原创 2022-02-14 11:12:24 · 1016 阅读 · 0 评论