📅  最后修改于: 2022-03-11 15:04:55.179000             🧑  作者: Mango
代码示例1
select DATEADD(wk, DATEDIFF(wk,0,
dateadd(dd,6-datepart(day,getdate()),getdate())
), 0)
--Change getdate to your variable