Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hanson/timeutil

a tool processing time for golang
https://github.com/hanson/timeutil

Last synced: 24 days ago
JSON representation

a tool processing time for golang

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