extract_year

Function extract_year 

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

Extract year from DateTime