date_trunc

Returns the timestamp to the specified precision.

Syntax

date_trunc ( string_expression , timestamp_expression)