Skip to content

年份周

YEARWEEK(timestamp_val)

返回提供的 timestamp_val 的年份和周数,合并为一个数字。例如:

YEARWEEK(TIMESTAMP '2021-08-30::00:00:00')
202135