Skip to main content

ITS_EPOCH_MS

Constant ITS_EPOCH_MS 

Source
pub const ITS_EPOCH_MS: u64 = 1_072_915_200_000;
Expand description

Milliseconds between UNIX epoch (1970-01-01) and the ITS epoch (2004-01-01). Used to convert std::time::SystemTime to ITS milliseconds.

2004-01-01T00:00:00 UTC in Unix ms = 1_072_915_200_000