Get the latest tech news
Handling dates and times in SQL queries with PostgreSQL
PostgreSQL date and time functions with examples: now(), EXTRACT, date_trunc, to_char, interval, age(), generate_series, and their MySQL equivalents.
None
Or read this on Hacker News