How did the Y2K bug work? Wikipedia and other sources talk about how only the last 2 digits of the year were stored in DBs, but computers are not decimal, they don't literally store `99` or `00`. 99 would be 0b1100011. How was date represented physically such that it caused bugs?https://twitter.com/robertskmiles/status/1211259257720594432 …
-
-
Hm, still sounds weird that you'd use that one for dates if you're tight on memory. But there's probably not going to be a super simple tweetable explanation, so never mind
-
How's this: A number like 90 fits in a single byte, a number like 1990 doesn't. They could have said "Ok we'll record just the last 8 bits of the year", which would allow dates from 1792 to 2047, but then 1990 is in the db as 198, which is confusing
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.