extract_year

Function extract_year 

Source
pub fn extract_year<Tz: TimeZone>(time: &DateTime<Tz>) -> i32
where Tz::Offset: Display,
Expand description

Extract year from DateTime