4 Ways to Create Date Bins in Postgres: interval, date_trunc, extract, and to_char

8 · Crunchy Data · Oct. 29, 2024, 3:32 p.m.
Chris has lots of tips and sample code for getting date based report data from Postgres. He is rolling up days, weeks, months, and quarters and even has handy functions for labeling date results in your preferred format....