[][src]Function epochs::icq

pub fn icq(days: f64) -> Option<NaiveDateTime>

ICQ time is the number of days since 1899-12-30. Days can have a fractional part.

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