go time format cli tool
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/gotimefmt
timefmt
README.md

README.md

License

gotimefmt

go time formatter cli tool

install

$ go get github.com/yudppp/gotimefmt/cmd/gotimefmt

use

$ gotimefmt YYYYMMDD
------------------------------------
format: 20060102
now:    20161206
------------------------------------
$ gotimefmt 20060102
------------------------------------
format: 20060102
now:    20161206
------------------------------------