% This is generated by ESQL's DateTruncTests. Do not edit it. See docs/reference/query-languages/esql/README.md for how to regenerate it.

## Parameters

`interval`
:   Interval; [time span](/reference/query-languages/esql/esql-time-spans.md) (DATE_PERIOD or TIME_DURATION).

`date`
:   Date expression

