golang mendapatkan hari dalam seminggu dari waktu
weekday := time.Now().Weekday()
fmt.Println(weekday) // "Tuesday"
fmt.Println(int(weekday)) // "2"
Wandering Wolf
weekday := time.Now().Weekday()
fmt.Println(weekday) // "Tuesday"
fmt.Println(int(weekday)) // "2"
tn := time.Now().UTC()
fmt.Println(tn)
year, week := tn.ISOWeek()
fmt.Println(year, week)