date_part

Function date_part 

Source
pub fn date_part(part: Expr, date: Expr) -> Expr
Available on crate feature datetime_expressions only.
Expand description

extracts a subfield from the date