to, _ := time.Parse("2006-01-02T15:04:05Z", "2021-01-27T10:10:10.294Z") stamp := to.Format("2006-01-02 15:04:05")