#epoch #timestamp #convert #cli

bin+lib epoch-cli

A small command line utility for working with epoch timestamps

13 releases (3 stable)

Uses new Rust 2024

1.0.2 Feb 26, 2025
1.0.1 Mar 7, 2023
1.0.0 Apr 8, 2022
0.2.1 Sep 27, 2021
0.1.1 Apr 2, 2020

#148 in Date and time

Download history 1/week @ 2024-12-03 4/week @ 2024-12-10 2/week @ 2025-02-18 151/week @ 2025-02-25 16/week @ 2025-03-04 4/week @ 2025-03-11

171 downloads per month

MIT license

19KB
338 lines

epoch-cli

epoch-cli is a tool for working with epoch timestamps.

Features

  • Incredibly fast with low resource usage
  • Only UTC time is used
  • Can work with units of seconds, milliseconds, microseconds, or nanoseconds
  • Can convert epoch timestamps into dates and times
  • Can convert dates and times into epoch timestamps
  • Inspired by https://www.epochconverter.com/

Documentation

Full documentation, instructions, and API are available at: https://docs.rs/epoch-cli

Dependencies

~1.8–2.5MB
~45K SLoC