Skip to main content

NTP_TO_PTP_TIME_OFFSET_SECONDS

Static NTP_TO_PTP_TIME_OFFSET_SECONDS 

Source
pub static NTP_TO_PTP_TIME_OFFSET_SECONDS: LazyLock<u64>
Expand description

Number of seconds to subtract from NTP time to convert to PTP time.

  • PTP time epoch is the same as UNIX time: 01/01/1970 00:00:00.00
  • NTP time follows UTC in the sense that neither add leap seconds.
  • PTP time follows TAI with regard to leap seconds.