Skip to main content

date_trunc

Function date_trunc 

Source
pub fn date_trunc(fmt: Expr, ts: Expr) -> Expr
Expand description

Truncates a timestamp ts to the unit specified by the format fmt.