epoch_to_human

Crates.ioepoch_to_human
lib.rsepoch_to_human
version0.1.0
sourcesrc
created_at2024-06-25 20:31:10.925657
updated_at2024-06-25 20:31:10.925657
descriptionConvert Date from Epoch to Human readable and vice versa
homepage
repositoryhttps://github.com/gchandra10/rust-epoch-to-human/
max_upload_size
id1283844
size3,214
Ganesh Chandrasekaran (gchandra10)

documentation

https://docs.rs/epoch-to-human

README

Library for demonstration

Usage

cargo add epoch_to_human
// main.rs

use epoch_to_human::*;

fn main(){
    println!("{:?}",epoch_to_date(1719315296));
    println!("{:?}",date_to_epoch("2024-06-25 11:34:56"));
}
    
Commit count: 0

cargo fmt