Handling dates and times in SQL queries with PostgreSQL
23 comments
- Points3
- Comments1
23 comments
Story details from Hacker News ↗ · linked article on mon-code.net.
Handling dates and times in SQL queries with PostgreSQL was first seen by Trendoday on Dec 6, 2026. Since then it has appeared in 26 checks on 1 different day. It reached #17 on Hacker News · Front page on Dec 6, 2026 UTC. It is #24 right now, holding steady at #24 over the last 6 checks.
Position on Hacker News · Front page at every check (lower is better).
Best rank per day (UTC).
points as reported by Hacker News.
A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.
For reports by local date, I’d convert both local midnights to timestamptz separately, then filter with ts >= start AND ts < end. If you take the first midnight and just add 24 hours, you can miss an hour or pull in an hour from the next day when the clocks change
Archived daily, weekly and monthly lists that include this entry.
Yes. As of Dec 6, 16:59 UTC it is #24, holding steady at #24 over the last 6 checks.
#17 on Dec 6, 2026 UTC.
It was first seen on Dec 6, 2026 and has been on the list on 1 day (26 checks) since.
3 points and 1 comment; submitted by metfan on Dec 3, 2026.