News for hackers. Stuff that matters.
Re:PostgreSQL's Missing DateDiff Function by d0100 on Tuesday December 21, 2021 @06:40PM (#29643511)
extract(year from '2021-01-01'::timestamptz) - extract(year from '2020-12-31'::timestamptz)

For months and days it would be a bit bigger

There are no comments on this comment yet.