gf/geg/os/gtime/gtime_func.go
2018-07-22 11:58:38 +08:00

16 lines
390 B
Go

package main
import (
"fmt"
"gitee.com/johng/gf/g/os/gtime"
)
func main() {
fmt.Println("Date :", gtime.Date())
fmt.Println("Datetime :", gtime.Datetime())
fmt.Println("Second :", gtime.Second())
fmt.Println("Millisecond:", gtime.Millisecond())
fmt.Println("Microsecond:", gtime.Microsecond())
fmt.Println("Nanosecond :", gtime.Nanosecond())
}