Skip to main content

format_date

Function format_date 

Source
pub fn format_date(recv: &Value, pattern: &Value) -> Option<String>
Expand description

d.format(pattern): yyyy year, MM month, dd day, HH hour, mm minute, ss second (two digits each), MMM the English month abbreviation (Jan), EEE the English weekday abbreviation (Mon); every other character is literal. Fields are read in the written offset; a date-only value has 00 time fields.