gf/geg/other/test.go
2017-12-13 14:13:36 +08:00

13 lines
196 B
Go

package main
import (
"time"
"gitee.com/johng/gf/g/os/gtime"
"fmt"
)
func main() {
s := gtime.Second()
t := time.Unix(s, 0)
fmt.Println(t.Format("2006-01-02 15:04:05"))
}