Skip to main content

seconds_to_f64

Function seconds_to_f64 

pub(crate) fn seconds_to_f64(seconds: i64) -> f64
Expand description

Converts an elapsed-seconds count to f64.

Exact. Seconds across chrono’s representable range are bounded by about 1e13 — still two orders of magnitude inside 2^53.