I have this datetime, or something that looks like it.
2014-11-17 23:02:03 +0000 UTC
I want to convert this to a time object and I've been unable to produce any output from
time.Parse apart from:
0001-01-01 00:00:00 +0000 UTC
I've tried these layouts:
time.RFC3339 0001-01-01 00:00:00 0000 UTC 2016-10-10 time.UnixDate
And a few more - none have worked.
This is how I'm calling
updatedAt, err := time.Parse(time.UnixDate, updatedAtVar)
How do I create a time object from a string?