epochs
pub fn unix(num: i64) -> Option<NaiveDateTime>
Unix time is the number of seconds since 1970-01-01.
use epochs::unix; let ndt = unix(1234567890).unwrap(); assert_eq!(ndt.to_string(), "2009-02-13 23:31:30");