News for hackers. Stuff that matters.
Re:Hexadecimal clock counting down to 2038 problem by funcDropShadow on Monday September 25, 2023 @11:36AM (#37645562)
In theory yes, in practice no. When you store a future contract end date in seconds/milliseconds/microseconds since some epoch. You will do that with tz database version x. A few year later some admin updates the tz database. Now you have to remember if you have to reencode your timestamps or not. To do that correctly, you need to store the version of the tz database that was used, translate it using that version to a "human-readable" date and translate it back to the the timestamp with the latest version of tz. If you don't do that you will experience silent data corruption.

There are no comments on this comment yet.