Function pwasm_std::ext::timestamp [] [src]

pub fn timestamp() -> u64

Get the block's timestamp.

It can be viewed as an output of Unix's time() function at current block's inception.