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

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

Trait to deal with unix time.

Required methods

fn now() -> Duration[src]

Return duration since SystemTime::UNIX_EPOCH.

Loading content...

Implementors

Loading content...