Skip to main content

SECS_2000_EPOCH

Constant SECS_2000_EPOCH 

Source
pub const SECS_2000_EPOCH: i64 = 946_684_800;
Expand description

Unix timestamp (seconds since Unix epoch 1970-01-01T00:00:00 UTC) of the T2-MI / DVB time-of-day epoch: 2000-01-01T00:00:00 UTC.

Computed as: days from 1970-01-01 to 2000-01-01 = 10957 days (30 years, 8 of which are leap years: 1972, 1976, …, 1996 → 365×30 + 8 = 10958 - 1 day; precise count 1970→2000 is 10957 days). 10957 × 86400 = 946684800.