parsing - How can I parse this date in Golang? -
i having trouble in parsing date ("apr 19, 3:15p et"), can please me in regard?
this code have written.
d, err := time.parse("jan 02, 3:04p et", date)
thanks in advance.
the 3 letter month constant jan
date := "apr 19, 3:15p et" d, err := time.parse("jan 02, 3:04p et", date)
Comments
Post a Comment