2 releases
0.1.1 | May 18, 2019 |
---|---|
0.1.0 | May 18, 2019 |
#8 in #datetime
155KB
REPOCH
REPOCH is cli to convert epoch timestamp datetime and datetime to timestamp.
Its convert a epoch time from utc to datetime.
Building for source
For build the binary just:
$ cargo build
To run, just run this example:
$ cargo run -- 1558150671
Installation
Install simple typing:s
cargo install repoch
Documentation
The documentation, for now, is the help return of tool:
Convert the epoch value to datetime and datetime to epoch (everyting as utc)
USAGE:
repoch [FLAGS] [OPTIONS] <value>
FLAGS:
-h, --help Prints help information
-d, --date If will convert from date to epoch or not
-V, --version Prints version information
OPTIONS:
-f, --format <format> Conversion format, Epoch is output and Date is input [default: %Y-%m-%d %H:%M:%S]
ARGS:
<value> Value to convert
License
MIT
Free Software, Hell Yeah!
Dependencies
~5.5MB
~96K SLoC