Documentation ¶
Overview ¶
Package pcstime 时间工具包
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CSTLocation 东八区时区 CSTLocation = time.FixedZone("CST", 8*3600) )
Functions ¶
func BeijingTimeOption ¶
BeijingTimeOption 根据给定的 get 返回时间格式.
get: 时间格式 "Refer": 2017-7-21 12:02:32.000 "printLog": 2017-7-21_12:02:32 "day": 21 "ymd": 2017-7-21 "hour": 12 默认时间戳: 1500609752
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.