b'\\ No newline at end of file'
4
DATE_TRUNC truncates a date to a specified precision. The idea is similar to the trunc function for numbers.
6
The syntax is: date_trunc(text, source)
8
Valid values for *text* are:
24
In this example, 'source' is a TIMESTAMP value with microsecond precision:
28
date_trunc('hour', timestamp '2011-02-26 10:35:44:712005')
30
Returns: 2011-02-26 10:00:00