You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the playground the time begins at 2009-11-10 23:00:00 UTC (determining the significance of this date is an exercise for the reader). This makes it easier to cache programs by giving them deterministic output.
If you want to use actual time and date - use WebAssembly backend which will run Go code in your browser:
I have been trying to use
time. Now().Unix()
but on every run, it returns the same timestamp.Do we have to explicitly specify the timezone to be followed?
Here is below example that I was expecting to run
https://goplay.tools/snippet/9E6tmxLJs2u
The text was updated successfully, but these errors were encountered: