[][src]Function epochs::apfs

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

APFS time is the number of nanoseconds since the Unix epoch (cf., APFS filesystem format).

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