News for hackers. Stuff that matters.
Re:PostgreSQL's Missing DateDiff Function by kevinmcconnell on Tuesday December 21, 2021 @06:18PM (#29643321)
You can find the difference between dates by subtracting one from the other, the same way you’d find the difference between two numbers. That’s why there’s no need for a function to do it.
Re:PostgreSQL's Missing DateDiff Function by erichocean on Tuesday December 21, 2021 @06:26PM (#29643382)
That's…not what this function does.
Re:PostgreSQL's Missing DateDiff Function by kevinmcconnell on Tuesday December 21, 2021 @06:38PM (#29643493)
Ah right, my mistake. I’m used to DATEDIFF on other platforms meaning the interval between two dates, and misread.