Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
brandmeyer
4y ago
0 comments
Save
Share
Why would you want this to round up instead of down or to nearest?
0 comments
1 comments · 1 top-level
top
newest
oldest
wongarsu
4y ago
It's not even rounded up, datediff('years', 2020-01-01, 2021-12-31) returns 1.
I'm not sure what it's used for though
j
/
k
navigate · click thread line to collapse