to_date

Function to_date 

Source
pub fn to_date<F: TimeZone>(time: &DateTime<F>) -> String
where F::Offset: Display,
Expand description

Returns just the date portion as YYYY-MM-DD.