Here’s the only thing developers should know about time. I’ve learned it the hard way developing an embedded system.
Always use UTC, for everything. Only use localtime when showing time to the user.
And that’s it, seriously!
Thank you.
jvillasantegomez@gmail.com