We are trying to parse a unix timestamp, which is available as a string, into a time object, however, the following does not work:
package main
import (
"fmt"
"time"
)
func main() {
t, _ := time.Parse(time.UnixDate, "1393344464")
fmt.Printf("%v", t)
}
It keeps returning 0001-01-01 00:00:00 +0000 UTC. Go Playground.