Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
darrenf
· 4y ago · 0 comments
The idea that “a month” has a constant number of seconds (edit: exactly 1/12th of a year) seems peculiar, so I’d argue the function needs to be more complicated.
Comments
[–]
dm3
4y ago
It's using a standard-year/month/day convention which might be what's required in that particular case. It's definitely not a generic solution.
[–]
hiptobecubic
4y ago
The point is that it's wrong.