👩💻 Join our community of thousands of amazing developers!
Recently I learned that converting timestamps into UTC and saving it won’t work all the time. Especially when saving a future date. TL;DR: You can jump to Jon Skeet’s original article that I learned this from. I wrote this blog post as a journal for better understanding and for future reference. Future timestamps have to be always saved as the local date-time, instead of converting them into UTC and saving it. The future UTC that you calculated now can be different at that moment in the future. ...