cuprate_helper::time

Function time

Source
pub fn time() -> u32
Expand description

Get the current system time in the system’s timezone

The returned value is the total amount of seconds passed in the current day.

This is guaranteed to return a value between 0..=86399

This will return 0 if the underlying system call fails.