Hacker News new | past | comments | ask | show | jobs | submit login
Why “Always use UTC” is bad advice (q42.nl)
3 points by BerislavLopac on Nov 25, 2019 | hide | past | favorite | 2 comments



Offsets aren’t useful information, since they can be derived from the timezone and change with DST.

You should always store date times in UTC, and can store the timezone used to create them alongside that or use an account wide timezone setting.


Always “store” timestamps in UTC is more accurate. For date math purposes alone.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: