PostgreSQL

PostgreSQL Date and Time Data Types Explained

· β˜• 7 min read
PostgreSQL provides five datetime data types, including timestamp/timestamp with time zone, date, time, interval and time range(tsrange, tstzrange, daterange). This article briefs them, talks about gotchas and recommendations like why not store every datetime in UTC.