spark_connect_rs::functions

Function date_trunc

Source
pub fn date_trunc(
    format: impl Into<Column>,
    timestamp: impl Into<Column>,
) -> Column
Expand description

Returns timestamp truncated to the unit specified by the format.