Time can be represented in GO in both time.Time and Unix Timestamp format. The Unix Timestamp also known as Epoch Time is the number of seconds elapsed since 00:00:00 UTC on 1 January…
Tag: time.Time
Convert time between different timezones in Go (Golang)
Every time.Time object has an associated location value. When you change the location of any time.Time object to any other location, then that instant of time is not changed. Only the location…
Time Conversion in Go (Golang)
Overview Time can be represented in GO in below 5 formats: time.Time object Unix Time (Also known as Epoch Time) – It is the number of seconds elapsed since 00:00:00 UTC on 1…