📜  获取当前周数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:32.839000             🧑  作者: Mango

代码示例2
// Golang get current year and week
tn := time.Now().UTC()
fmt.Println(tn)
year, week := tn.ISOWeek()
fmt.Println(year, week)