Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: time.Now() returns a wrong datetime #15

Closed
rafalseamless opened this issue May 7, 2016 · 1 comment
Closed

tour: time.Now() returns a wrong datetime #15

rafalseamless opened this issue May 7, 2016 · 1 comment

Comments

@rafalseamless
Copy link

Context: https://tour.golang.org/flowcontrol/10
fmt.Println(time.Now()) retuns 2009-11-10 23:00:00 +0000 UTC
while it is 2016-05-07 and 06:32 UTC

@adg
Copy link
Contributor

adg commented May 7, 2016

From that page:

Note: Time in the Go playground always appears to start at 2009-11-10 23:00:00 UTC, a value whose significance is left as an exercise for the reader.

@adg adg closed this as completed May 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants