Skip to main content

now

Function now 

Source
pub fn now() -> Duration
Expand description

Returns the current wall-clock duration since the Unix epoch.

The value comes from SystemTime and is not monotonic. The function panics if the current system clock is earlier than the epoch.