On the night of 31 December 1999, millions of people sat in front of their televisions waiting for the world to end. Some had stockpiled tinned food and bottled water. Some had bought generators. A few had left the cities altogether. Then the clocks ticked over to midnight, the lights stayed on, and the planes stayed in the sky. By breakfast, the jokes had started. Y2K, the great millennium bug, was a scam. A con. A multibillion dollar excuse for programmers to get rich fixing a problem that was never going to happen.
It's a neat story. It's also wrong, or at least badly incomplete. The truth sits somewhere uncomfortable in the middle, and it's a lot more interesting than either the panic or the punchline.
The Bug Was Real
Start with the basics, because the basics matter. In the 1960s and 70s, computer memory and storage were eye wateringly expensive. Programmers saved space wherever they could, and one easy saving was storing the year as two digits. 1971 became 71. Nobody thought twice about it. Why would they? Those systems were never meant to last thirty years.
But they did last. Banks, insurers, airlines, power companies and governments built their businesses on top of that old code, mostly written in COBOL, and kept bolting new features onto it instead of starting again. By the 1990s, a huge amount of the world's critical software still treated the year 2000 as 00, and 00 could easily be read as 1900. Interest calculations could go negative. Expiry dates could look like they'd passed a century ago. Sorting routines could put new records at the very bottom of the pile.
None of this was a secret. Computer scientists had been warning about it since the 1970s, and the issue went mainstream in the 90s once consultants like Peter de Jager started writing about it in industry magazines. The question was never whether the bug existed. It was how bad the damage would be if nobody did anything.

It Hit Before the Clock Did
Here's the part people forget. Y2K didn't wait until New Year's Eve to cause trouble. Any system that looked into the future had already hit the wall. A mortgage system calculating a 30 year loan in 1970 would have tripped over the year 2000 immediately. By the mid 1990s, credit card processing, insurance policies and stock control systems were throwing errors because cards or contracts ran past the millennium.
That's why the remediation work was real work. Engineers had to read through millions of lines of ageing code, much of it badly documented and written by people who'd long since retired, find every date calculation and fix it. Some teams expanded the year fields to four digits. Others used a trick called windowing, where a two digit year below some cutoff like 30 is treated as 20xx and anything above it as 19xx. It was cheap, quick and a bit of a hack, and plenty of those hacks are still sitting in production systems today.
What Actually Broke
The apocalypse never arrived, but things did go wrong. Quietly, mostly, and in small ways.
If you were a PC user in 2000, you may remember the clock problem. Plenty of older BIOS chips couldn't handle the century rollover properly, and some machines woke up on 1 January 2000 convinced it was 1980. Windows 3.1 had its own party trick: File Manager would show the date on files created after the rollover as garbage. Cosmetic, mostly, but it gave plenty of people a nasty shock. The US Naval Observatory's website famously announced the date as 19100 for a while, a lovely example of string handling gone wrong. More on all of that below.
There were more serious wobbles too. A US military satellite ground station lost the ability to process some intelligence data for several hours, and engineers fell back on backup systems. A radiation monitoring system at a Japanese nuclear plant failed at midnight, though the plant itself was never in danger. In Sheffield, a hospital reported that a date error caused incorrect risk calculations for Down's syndrome screening, and the mistake led to real harm. Smaller businesses reported duff invoices, rejected credit card terminals and hung point of sale tills.
Then there was the leap year trap. The year 2000 was a leap year, but only because it's divisible by 400. Plenty of programmers had learned the shortcut that century years aren't leap years, so some systems skipped 29 February 2000 altogether. That one caught out systems that had sailed through the New Year.
Nothing that bad. But nothing you'd call a non event either, and remember: these are the failures that slipped through after years of preparation.
Inside the Beige Box: What It Did to DOS and Windows
The operating systems themselves came off lightly. MS-DOS stores file dates as a year offset from 1980, which gives it a range running all the way to 2107, so the filesystem was never going to choke on the millennium. Microsoft's own Y2K documentation described DOS as aware of dates beyond 2000. The weak spot sat underneath it.
DOS, and Windows 3.x and 95 on top of it, relied on the BIOS to hand over the correct date at boot. The real time clock chip only counts years as two digits and knows nothing about centuries. The century lived in a separate byte that the BIOS was meant to update, and plenty of older BIOS code didn't bother. Microsoft's guidance for those machines was blunt: DOS and Windows 95 would drop back to 4 January 1980, the first valid date they recognise, and you'd have to reset the date by hand. Do it once and you were fine, unless the BIOS kept undoing your work on every cold boot. Windows 98 had logic to correct the century at startup, and NT read the clock hardware directly and mapped it forward. Third party tools like the Y2000RTC driver existed purely to stop old machines ever seeing 1900.
The DATE command had its own problem. Typing a two digit year after 1999 wasn't handled properly, so the safe move was to type all four digits. On Windows 95, Microsoft's Y2K update fixed this by shifting the two digit cutoff from 1999 to 2029. Type 29 and you got 2029. Type 30 and you got 1930.
Then there's Windows 3.1 and 3.11. File Manager (WINFILE.EXE) couldn't display post 2000 dates properly, and the result is gloriously ugly. The year ran past 99 into the next characters in the ASCII table, so a file dated 2000 could show up with a year like 19:0. The Control Panel date and time applet also didn't know that 29 February 2000 existed. Microsoft shipped a patched File Manager, and Windows 95 had the same File Manager fault until its own update. Microsoft summed up 3.1, 95 and 98 as compliant with minor issues. Fair enough. Annoying, rarely fatal.
Windows 95 had one more oddity: the DHCP driver misreported IP lease expiry dates after 1 March 2000. A display problem only, but a very nerdy one.
Applications were messier, because every program that handled dates itself had to get it right on its own. Microsoft's knowledge base from 1998 lists a pile of them. Access defaulted two digit years from 00 to 29 into the 2000s. Excel read two digit dates differently depending on the version. PowerPoint translated them wrongly after 2000, and Visual Basic behaved differently on 16 bit and 32 bit systems. Office 95 even had logs that showed the year as 100, 101, 102 and so on. That one is the classic mistake of storing a year as an offset from 1900 and then gluing a "19" on the front, which is almost certainly how the Naval Observatory ended up announcing the year 19100. Microsoft handed fixes out on its Year 2000 Resource Center CD, which is the sort of thing somebody has probably got in a drawer right now.
For retro builders, the lesson still applies. A flat CMOS battery on an old machine will throw the date off in much the same way, and a lot of period software only ever expected a window of years that ends sooner than you'd think.

The Argument Against: Did It Even Need Fixing?
The sceptics have a real point, and it's worth giving them a fair hearing. Some countries spent very little. Italy and South Korea are the usual examples, along with Russia, which was thought to be dangerously unprepared. They still got through January with no disasters. If the bug was so deadly, how did they escape?
There are a few plausible answers. Less computerised economies simply had less to break. Some of those countries ran newer systems that were built with four digit years from the start. And a lot of the doomsday predictions were always wild. Planes falling out of the sky? Aircraft don't care what year it is mid flight. Nuclear missiles launching by themselves? Not a realistic risk. The media and a cottage industry of survivalists took a genuine technical problem and spun it into end times fantasy, and that fantasy is what most people remember.
Still, a country skipping the work and surviving isn't proof that the work was pointless. It just means the exposure was uneven.
The Money
How much did it all cost? Nobody really knows. Estimates for US spending land around $100 billion, with global figures often quoted at several times that. Treat every number with suspicion, because they mix real remediation with ordinary upgrades that would have happened anyway. Plenty of firms used Y2K as the budget excuse to finally dump a creaking old mainframe application and buy something modern.
That's the heart of the winners and losers question.
Winners and Losers
The obvious winners were the consultants and contractors. COBOL programmers who'd been quietly heading towards retirement suddenly found themselves in demand, and day rates went through the roof. Indian IT firms like Infosys, Wipro and Tata Consultancy Services got a huge boost, because Western companies needed more hands than they could hire at home. Y2K handed them contracts, credibility and relationships that turned into the outsourcing boom of the following decade. Enterprise software vendors like SAP and Oracle also did very nicely out of companies who decided replacement was cheaper than repair.
The survivalist trade did well for a few months. Generators, dehydrated food, bottled water and gold coins all sold briskly. After January it went very quiet, and plenty of people were left with a cellar full of beans and a bit of embarrassment.
The losers? Companies that overspent on panic, for one. IT departments that had spent years pulling forward upgrades and then found the budget cupboard bare in 2000 for another. A lot of analysts blame that spending hangover as one of the factors in the dot com crash, though it's hard to prove how much it mattered. And the biggest loser might be the profession itself. Engineers who spent years doing unglamorous, meticulous prevention work got mocked for it. Nobody throws a parade for a disaster that didn't happen.

The Prevention Paradox
That last point is the real lesson. When prevention works, it looks like it was never needed. Wear your seatbelt for twenty years without crashing and it's easy to decide the seatbelt was pointless. Y2K is the textbook case. The warnings were loud, the work was enormous, and the result was a night so uneventful that people decided the whole thing had been invented.
The truth is closer to this: the worst case was never as bad as the headlines said, and the best case only happened because thousands of people spent years fixing code. Both things are true at once. It was hyped, and it was real. Some money was wasted, and a lot of it was well spent. Some people profited handsomely, and plenty of others quietly saved their employers from expensive embarrassment.
And the story isn't over. Those windowing hacks from the late 90s have expiry dates of their own, and the Unix 2038 problem is already lining up. Different bug, same old trick: store the date in a space that seemed big enough at the time. Someone, somewhere, will be fixing it quietly and getting mocked for it afterwards.