Skip to content

date_trunc

function date_trunc(format, column): Column;

Defined in: functions/datetime.ts:133

Truncates a timestamp to the specified format (e.g. “year”, “month”, “day”, “hour”).

ParameterType
formatstring
columnColOrName

Column