get_utc

Function get_utc 

Source
pub fn get_utc() -> Result<u32>
Expand description

Get the current UTC time in seconds since Unix epoch.

Convenience function: returns monotonic time + NTP offset.

ยงErrors

Returns Error::NotSupported if no sync has been performed.