Skip to content

laststem/timestamp-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timestamp-converter

Simple CLI timestamp converter

Install

go install github.com/laststem/timestamp-converter/cmd/tc@latest

Usage

$ tc 1593766111
2020-07-03T17:48:31+09:00

$ TZ=America/New_York tc 1593766111
2020-07-03T04:48:31-04:00

$ tc gen
1617027039

$ tc gen -m
1617027100055

$ tc parse "2020-01-01T00:00:00Z"
1577836800

$ tc parse "2020-01-01 00:00:00" -f "2006-01-02 15:04:05"
1577836800

About

Simple CLI timestamp converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages