Answers for "get the current day rust"

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 "get the current day rust"

Browse Popular Code Answers by Language