TIL that we actually have 2 2038 problems. There's the January 19th thing we all...

@seedy60@vee.seedy.cc

TIL that we actually have 2 2038 problems. There's the January 19th thing we all know about, but there's another problem that will happen about 3 months later that is to do with digital TV broadcasts. Included in the metadata of MPEG-TS-encoded broadcast data is the current date, the time, and shows currently being broadcast. Because of bandwidth limits at the time DVB, the digital video broadcast spec suite, was developed and standardised, the date, using the Modified Julian Date (MJD) that counts the days passed since November 17th 1858, was stored using an unsigned 16-bit integer. An unsigned 16-bit integer only allows values from 0 to 65535,. On Thursday April 22nd 2038, it will be 65535 days since November 17th 1858. This means that as of midnight on Friday April 23rd 2038, electronic program guides (EPG's) and other services that rely on DVB-supplied dates will stop working because that unsigned 16-bit integer will have wrapped back to 0, meaning they'll be trying to fetch data from a time when television didn't even exist yet. It also means that the internal time clocks of unpatched TV's will reset themselves since they are often syncronised with DVB broadcast times, meaning your TV won't be able to connect to the internet anymore; the internet and security systems like SSL/TLS didn't exactly exist back in 1858 either.