Skip to main content

now_epoch

Function now_epoch 

Source
pub fn now_epoch() -> u64
Expand description

Current wall-clock as seconds since Unix epoch. Saturating on the (impossible) pre-1970 case so the returned u64 never wraps.