You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Strong af231e75ca fix rfc3339 formatting (ensure "Z" ending for utc), upgrade to 2021 edition, update deps 1 year ago
src fix rfc3339 formatting (ensure "Z" ending for utc), upgrade to 2021 edition, update deps 1 year ago
.gitignore initial commit 4 years ago
Cargo.lock fix rfc3339 formatting (ensure "Z" ending for utc), upgrade to 2021 edition, update deps 1 year ago
Cargo.toml fix rfc3339 formatting (ensure "Z" ending for utc), upgrade to 2021 edition, update deps 1 year ago
README.md prevent terrible syntax highlighting, hopefully 4 years ago

README.md

utcnow 1.0.0
Jonathan Strong <jonathan.strong@gmail.com>

current time in utc with non-cryptic interface.

for your own safety and well-being, local time functionality is not provided.

default output format is rfc3339 with trailing 'Z', e.g. '1999-12-31T23:59:59.999999999Z'

USAGE:
    utcnow [FLAGS]

FLAGS:
    -h, --help        help
    -r, --rfc2822     display in rfc2822 format
    -s, --seconds     display unix timestamp in seconds, instead of default nanoseconds
    -t, --timespec    display as <sec>,<nsec>
    -u, --unix        display elapsed nanoseconds since 1970-01-01T00:00:00Z
    -V, --version     version