📅  最后修改于: 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)