nautilus_core::python::datetime

Function py_millis_to_nanos

Source
pub fn py_millis_to_nanos(millis: f64) -> u64
Expand description

Return round nanoseconds (ns) converted from the given milliseconds (ms).

§Parameters

millis : float The milliseconds to convert.

§Returns

int