Skip to main content

trunc

Function trunc 

Source
pub fn trunc(dt: Expr, fmt: Expr) -> Expr
Expand description

Truncates a date dt to the unit specified by the format fmt.