-date_trunc(stride, source, origin)
+date_bin(stride, source, origin)
source is a value expression of type
timestamp or timestamp with time zone. (Values
of type date are cast automatically to
timestamp.) stride is a value
- expression of type interval. The return value is likewise
+ expression of type interval. The return value is likewise
of type timestamp or timestamp with time zone,
and it marks the beginning of the bin into which the
source is placed.