Hacker News
new
top
best
ask
show
job
JavaScript date + 1 month = 9 months previous
(
philna.sh
)
1 point
by
philnash
5 hours ago
1 comment
philnash
5 hours ago
Ah, time zones. This is a real thing that happened to me so I wanted to share so that no one else ever finds out their date calculations are off by 9 months.