duration_to_ntp_timestamp

Function duration_to_ntp_timestamp 

Source
pub fn duration_to_ntp_timestamp(d: &Duration) -> u64
Expand description

Convert time.Duration to ntp timestamp format