UTC:世界标准时间(英語:Coordinated Universal Time,法語:Temps Universel Coordonné,简称UTC)是最主要的世界時間標準
CST :UTC+8时区名称,中国标准时间是其一,详见维基百科释义
GMT:格林尼治平均时间(Greenwich Mean Time),前世界标准时
示例:
layout := "2006-01-02 15:04:05"
now := time.Now().Format(layout)
t1
UTC:世界标准时间(英語:Coordinated Universal Time,法語:Temps Universel Coordonné,简称UTC)是最主要的世界時間標準
CST :UTC+8时区名称,中国标准时间是其一,详见维基百科释义
GMT:格林尼治平均时间(Greenwich Mean Time),前世界标准时
示例:
layout := "2006-01-02 15:04:05"
now := time.Now().Format(layout)
t1