[][src]Function epochs::windows_date

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

Windows date time (e.g., .NET) is the number of hectonanoseconds (100 ns) since 0001-01-01, which is 62,135,596,800 seconds before the Unix epoch.

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