摘要: package main import ( "log" "time" ) func main() { t := int64(1546926630) //外部传入的时间戳(秒为单位),必须为int64类型 t1 := "2019-01-08 13:50:30" //外部传入的时间字符串 //时间转换的 阅读全文
posted @ 2020-08-15 13:46 林台山人 阅读(3965) 评论(0) 推荐(0) 编辑