>[danger] # gtime 通用时间管理模块,封装了常用的时间/日期相关的方法。 使用方式: ```go import "gitee.com/johng/gf/g/os/gtime" ``` 方法列表: godoc.org/github.com/johng-cn/gf/g/os/gtime ```go func Date() string func Datetime() string func Format(format string, timestamps ...int64) string func Microsecond() int64 func Millisecond() int64 func Nanosecond() int64 func Second() int64 func SetInterval(t time.Duration, callback func() bool) func SetTimeout(t time.Duration, callback func()) func StrToTime(format string, timestr string) (int64, error) ```