call us now!

GoLang – Get current week

Get the current week in GoLang package main import ( “fmt” “time” ) func main() { timeNow := time.Now().UTC() year, week := timeNow.ISOWeek() fmt.Println(year, week) }  ...