Answers for "rust insert current date"

CSS
1

rust get current date

use chrono;

fn main() {
    println!("{:?}", chrono::offset::Local::now());
    println!("{:?}", chrono::offset::Utc::now());
}
Posted by: Guest on October-15-2020

Code answers related to "rust insert current date"

Browse Popular Code Answers by Language