summaryrefslogblamecommitdiff
path: root/meap/meap-code/ch9/ch9-clock0/src/main.rs
blob: abdf9a66813ca9f0056341d64a22da82ae7ae4a1 (plain) (tree)
1
2
3
4
5
6
7
8







                                     
extern crate chrono;

use chrono::{Local}; // timezone type

fn main() {    
    let now = Local::now();
    println!("{}", now);
}