Trait frame_support::traits::UnixTime[][src]

pub trait UnixTime {
    fn now() -> Duration;
}
Expand description

Trait to deal with unix time.

Required methods

Return duration since SystemTime::UNIX_EPOCH.

Implementors