monorepo/ifc/src/today.rs

11 lines
239 B
Rust
Raw Normal View History

2021-12-15 04:25:48 +00:00
extern crate chrono;
extern crate chrono_tz;
extern crate international_fixed_calendar as IFC;
use chrono::{Datelike, Utc};
fn main() {
let d = IFC::IFC::from(Utc::today());
println!("{} {}, {}", d.month(), d.day(), d.year());
}