now

Function now 

Source
pub fn now() -> i64
Expand description

generate the current unix epoch time (UTC) as seconds

use chrono::Utc;
use scaffolding_core::defaults::*;

assert_eq!(now(), Utc::now().timestamp());