Created
July 3, 2017 08:45
-
-
Save iCoolchar/1e86fe656eaf29c052d0db1735d68f19 to your computer and use it in GitHub Desktop.
format time
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
t := time.Unix(1362984425, 0) | |
nt := t.Format("2006-01-02 15:04:05") | |
fmt.Println(nt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment