Skip to content

trunc

function trunc(column, format): Column;

Defined in: functions/datetime.ts:138

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

ParameterType
columnColOrName
formatstring

Column