Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PostgreSQL's Missing DateDiff Function. Parent comment
> # SELECT date_part('year', '2021-01-01'::timestamptz) - date_part('year', '2020-12-31'::timestamptz) as years;
Or what am I missing?
[edit: formatting]
There are no comments on this comment yet.
> # SELECT date_part('year', '2021-01-01'::timestamptz) - date_part('year', '2020-12-31'::timestamptz) as years;
Or what am I missing?
[edit: formatting]