Skip to content

Instantly share code, notes, and snippets.

@watiko
Created November 28, 2021 17:17
Show Gist options
  • Save watiko/312ff57cba5976803509f74239475b2a to your computer and use it in GitHub Desktop.
Save watiko/312ff57cba5976803509f74239475b2a to your computer and use it in GitHub Desktop.
fn main() {
let ts = std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.unwrap()
.as_millis();
print!("{}", ts);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment