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

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

Trait to deal with unix time.

Required methods

fn now() -> Duration

Return duration since SystemTime::UNIX_EPOCH.

Loading content...

Implementors

Loading content...