Skip to main content

now_millis

Function now_millis 

Source
pub fn now_millis() -> u64
Expand description

Returns the current wall-clock time as whole milliseconds since the Unix epoch.

The submillisecond remainder is discarded, and counts above u64::MAX retain only their low 64 bits. The function panics if the current system clock is earlier than the epoch.