Guest User

Untitled

a guest
Aug 19th, 2019
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extern crate chrono;
  2. extern crate time;
  3.  
  4. fn main() {
  5. use chrono::prelude::*;
  6. use time::Duration;
  7.  
  8. let utc: DateTime<Utc> = Utc::now();
  9. let dt = utc + Duration::days(137);
  10.  
  11. println!("{}", dt);
  12. }
RAW Paste Data