Is it possible to convert string into time

Helllo, is it possible to convert string “07:30:45AM” convert to the time type

Yes, should be totally doable using time.Parse

https://golang.org/pkg/time/#Parse

Something like this: https://play.golang.org/p/TyNLzKal2YQ

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.