Crates.io | repoch |
lib.rs | repoch |
version | 0.1.1 |
source | src |
created_at | 2019-05-18 05:06:29.464423 |
updated_at | 2019-05-18 05:08:58.490233 |
description | Convert epoch to datetime and vice-versa |
homepage | https://github.com/lucawen/repoch |
repository | https://github.com/lucawen/repoch |
max_upload_size | |
id | 135022 |
size | 230,014 |
REPOCH is cli to convert epoch timestamp datetime and datetime to timestamp.
Its convert a epoch time from utc to datetime.
For build the binary just:
$ cargo build
To run, just run this example:
$ cargo run -- 1558150671
Install simple typing:s
cargo install repoch
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
MIT
Free Software, Hell Yeah!