Get current timestamp in seconds

Rust

#![allow(unused)]
fn main() {
use use chrono::offset::Utc;
let now = Utc::now().timestamp() as u64
}

Python

import time
now = int(time.time())