Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

rust get current date

use chrono;

fn main() {
    println!("{:?}", chrono::offset::Local::now());
    println!("{:?}", chrono::offset::Utc::now());
}
 
PREVIOUS NEXT
Tagged: #rust #current #date
ADD COMMENT
Topic
Name
2+9 =