Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kevinmcconnell
· 4y ago · 0 comments
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.
Comments
[–]
erichocean
4y ago
That's…not what this function does.
[–]
kevinmcconnell
OP
4y ago
Ah right, my mistake. I’m used to DATEDIFF on other platforms meaning the interval between two dates, and misread.