I has a special time string like this: February 24, 2017 , 1:44 pm
and want to translate it to a golang time.Time object, does anyone know how to do this work. I have tried to using time.Parse()
, but always got errors.
Thanks.
I has a special time string like this: February 24, 2017 , 1:44 pm
and want to translate it to a golang time.Time object, does anyone know how to do this work. I have tried to using time.Parse()
, but always got errors.
Thanks.
我有一个特殊的时间字符串,例如: 谢谢。 p>
div> 2017年2月24日,下午1:44 code >并将其转换为golang time.Time对象,有人知道如何进行此工作。 我曾尝试使用
time.Parse() code>,但总是会出错。 p>