https://github.com/hanson/timeutil
a tool processing time for golang
https://github.com/hanson/timeutil
Last synced: 11 months ago
JSON representation
a tool processing time for golang
- Host: GitHub
- URL: https://github.com/hanson/timeutil
- Owner: Hanson
- Created: 2015-03-17T14:57:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-18T04:40:36.000Z (about 11 years ago)
- Last Synced: 2025-03-26T05:11:24.540Z (about 1 year ago)
- Language: Go
- Size: 121 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# timeutil
a tool processing time for golang
#Installation
go get github.com/hanccc/timeutil
#usage
import "github.com/hanccc/timeutil"
#for example
time:2015-03-17 12:37:06 +0800 CST
printf(timeutil.GetDate(time))
//03-17
printf(timeutil.GetFullDate(time))
//2015-03-17