[][src]Function epochs::mozilla

pub fn mozilla(num: i64) -> Option<NaiveDateTime>

Mozilla time (e.g., Firefox) is the number of microseconds since the Unix epoch.

use epochs::mozilla;
let ndt = mozilla(1_234_567_890_000_000).unwrap();
assert_eq!(ndt.to_string(), "2009-02-13 23:31:30");