Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chaudharisuresh997/7f0859367efdb870a3bfeb6d1210c901 to your computer and use it in GitHub Desktop.
Save chaudharisuresh997/7f0859367efdb870a3bfeb6d1210c901 to your computer and use it in GitHub Desktop.
TIme Golang
//after = now.AddDate(2, 2, 5)
//fmt.Println("\nAdd multiple values:", after)
// time.Now().Local().Add(time.Hour*time.Duration(year) +
// time.Minute*time.Duration(month) +
// time.Second*time.Duration(day))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment