📅  最后修改于: 2022-03-11 14:55:48.238000             🧑  作者: Mango
datecol - ((datecol - DATE '0001-01-01') MOD 7) -- week starts on monday
datecol - ((datecol - DATE '0001-01-07') MOD 7) -- week starts on sunday