go 获取时间0时区 utc+0

 

 

func Get_time_GMT() string {
    var cstSh, _ = time.LoadLocation("GMT")
    return time.Now().In(cstSh).Format("2006-01-02T15:04:05")
}

 

posted @ 2023-02-10 11:44  AngDH  阅读(31)  评论(0编辑  收藏  举报