datafusion_functions::datetime::expr_fn

Function date_trunc

Source
pub fn date_trunc(part: Expr, date: Expr) -> Expr
Expand description

truncates the date to a specified level of precision