Created
July 31, 2019 16:01
-
-
Save chaudharisuresh997/7f0859367efdb870a3bfeb6d1210c901 to your computer and use it in GitHub Desktop.
TIme Golang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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