Skip to navigation
Get the unixtimestamp in rust
07.12.22
use std::time::{SystemTime, UNIX_EPOCH}; let _unixtime = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs()
https://doc.rust-lang.org/std/time/struct.SystemTime.html
Reply
Anonymous
Information Epoch 1732459265
Think hierarchically.
Home
Notebook
Contact us