Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
JavaScript date + 1 month = 9 months previous
(opens in new tab)
(philna.sh)
1 points
philnash
5mo ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
philnash
OP
5mo 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.
j
/
k
navigate · click thread line to collapse