GoLang – Get current week by Tal Lannder | Nov 22, 2020 | golangGet the current week in GoLang package main import ( “fmt” “time” ) func main() { timeNow := time.Now().UTC() year, week := timeNow.ISOWeek() fmt.Println(year, week) } ...
Recent Comments