nautilus_core::python::datetime

Function py_nanos_to_micros

Source
pub const fn py_nanos_to_micros(nanos: u64) -> u64
Expand description

Return round microseconds (μs) converted from the given nanoseconds (ns).

§Parameters

nanos : int The nanoseconds to convert.

§Returns

int