1

I'm converting unix timestamp to time

newTime := time.Unix(int64(1537957097), 0)

and it retrns time with a timezone - 2017-10-12T19:10:56+05:00

how can i remove time zone from it?

format i want to get - 2017-10-12T19:10:56

Martin
  • 113
  • 1
  • 2
  • 8

0 Answers0