Skip to content

Instantly share code, notes, and snippets.

@hnw
Created January 2, 2018 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnw/fc2c7c76729d0b035077edb9721c171c to your computer and use it in GitHub Desktop.
Save hnw/fc2c7c76729d0b035077edb9721c171c to your computer and use it in GitHub Desktop.
package main
import (
"log"
"time"
)
func main() {
log.Fatalf("Now() = %s", time.Now())
// On macOS(x64) : 2018/01/02 14:49:11 Now() = 2018-01-02 14:49:11.047611 +0900 JST m=+0.000582901
// On Linux(x86) : 2018/01/02 14:49:24 Now() = 2018-01-02 14:49:24.056519964 +0900 JST m=+0.000544105
// On Linux(mipsle) : 2018/01/02 05:49:29 Now() = 2018-01-02 05:49:29.786310491 +0000 UTC m=+0.001880065
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment