Skip to main content

ax_timestamp_s_to_unix_nanos

Function ax_timestamp_s_to_unix_nanos 

Source
pub fn ax_timestamp_s_to_unix_nanos(seconds: i64) -> Result<UnixNanos>
Expand description

Converts an AX epoch-seconds timestamp to [UnixNanos].

ยงErrors

Returns an error if seconds is negative (malformed data from AX).