Hacker News new | ask | show | jobs
by kevinmcconnell 1642 days ago
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.
1 comments

That's…not what this function does.
Ah right, my mistake. I’m used to DATEDIFF on other platforms meaning the interval between two dates, and misread.