date_trunc

Returns the timestamp to the specified precision.

Syntax

date_trunc ( string_exp, timestamp_exp)