Year 2000 problem

From WikiTech, the free technology encyclopedia

Computer date bug feared at the turn of the year 2000

10 sources from Encyclopaedia Britannica, NPR, Gresham College and 5 more. Checked by ByteExplained editors on 3 December 2026. How we check facts

The Year 2000 problem, also called the Y2K bug or millennium bug, was a flaw in the way many computer systems recorded dates. Because programs often stored years as two digits, there was a risk that "00" would be read as 1900 rather than 2000, so calculations involving dates could go badly wrong when the new century began.[1]

Contents
  1. Background and cause
  2. How the problem worked
  3. Preparation and cost
  4. What happened on 1 January 2000
  5. Debate and legacy
  6. See also
  7. References

Background and cause

Early computers and their storage were expensive, so systems saved space by recording years with two digits.[2] In the 1960s, when data was often kept on 80-column punched cards, this was a sensible choice. The habit lasted because programmers did not expect their software to still be running when the century changed.[3] As 2000 approached, it became clear that many systems would read "00" as 1900.[2]

How the problem worked

A two-digit year breaks any sum that crosses the century boundary. Experts warned of:

  • blackouts, bank shutdowns and failures in medical equipment;[2]
  • disruption to Wall Street trading systems, power plants and air traffic control;[2]
  • mortgage calculations going badly wrong.[8]

There was a second, related trap. The year 2000 was a century leap year, because it divides by 400, so date routines also had to recognise 29 February 2000. A British Standards Institution guidance document, PD2000-1, published in January 1997, required this.[3]

Preparation and cost

Work on the problem stretched over several years. In the UK, TaskForce 2000 was set up in 1996 to raise awareness in the private sector, and after the 1997 election the new government created Action 2000, whose budget rose from £1 million to £17 million.[3] In the US, the General Accounting Office warned in April 1998 of the potential for widespread disruption and urged strong leadership, testing and contingency planning, with the President's Council on Year 2000 Conversion setting priorities.[4]

Fixes took three main forms:[3]

  • Expanding dates to four digits, the best solution because it gives unambiguous dates, but costly and needing extensive testing.[3]
  • Windowing, which kept two-digit years and inferred the century (for example, reading 00–19 as 2000–2019). It was cheaper and easier to test, but code was easily missed, connected systems had to co-ordinate, and it was not a permanent fix.[3]
  • Replacing old systems altogether.[3]

The US Congress also passed laws to support the effort. The Year 2000 Information and Readiness Disclosure Act, signed on 19 October 1998, gave limited legal protection to organisations that shared information about their Y2K work and let competitors co-operate on solutions.[5] The Y2K Act, signed on 20 July 1999, set temporary uniform federal rules for lawsuits arising from Y2K failures.[6]

By November 1999 the White House reported that 99% of federal mission-critical systems were compliant, while some areas lagged, including local 911 call centres, at about 50%.[7] The president's Y2K adviser, John Koskinen, flew on the night of 31 December 1999 so that he would enter the new year in the air, to show public confidence.[8]

Estimates of total spending vary widely. Britannica puts worldwide spending at up to $200 billion, about half of it in the US,[1] while a 2017 Gresham College lecture cited a poorly evidenced global estimate of $300–500 billion.[3] Large US businesses alone were estimated to have spent around $100 billion,[8] and the US Air Force's programme cost $345 million.[9]

What happened on 1 January 2000

The new year passed without major breakdowns; NPR described setbacks such as an internet slowdown and malfunctioning clocks.[2][8] Problems that were reported included:

  • runway visual range systems at UK air traffic control (NATS) airfields shutting down at 4 am, at a time when no aircraft were at risk;[3]
  • computers at Tokyo Electric Power's Fukushima No. 2 nuclear plant resetting their dates to 2036, briefly stopping some control-rod position data from being displayed;[10]
  • credit card systems rejecting valid cards, and some British newborns' birth certificates showing the year 1900.[3]

The US Federal Reserve reported that over 99% of banks received a satisfactory rating, and there were no system-wide aviation failures.[2]

Debate and legacy

Because so little went wrong, Y2K soon became a punch line, and some called it a hoax.[8] Others argue the calm was the result of the repair work: early campaigner Peter de Jager called the idea that nothing happened "somewhat ludicrous".[8] Britannica concludes that few failures occurred partly because fixes worked and partly because the risk was overstated.[1] In his 2017 Gresham College lecture, Martyn Thomas argued that the threat was real, though partly exaggerated by suppliers and consultants, some of whom pushed unnecessary upgrades.[3]

A similar date problem is expected on 19 January 2038, when many systems that store time as a 32-bit number will overflow.[9]

See also

References

  1. ^ Y2K bug summary. Encyclopaedia Britannica. britannica.com
  2. ^ How Americans prepared for Y2K. NPR. 2024-12-28. npr.org
  3. ^ What Really Happened in Y2K? (lecture transcript, Martyn Thomas). Gresham College. 2017-04-04. gresham.ac.uk
  4. ^ Year 2000 Computing Crisis: Potential for Widespread Disruption Calls for Strong Leadership and Partnerships (AIMD-98-85). US General Accounting Office. 1998-04-30. gao.gov
  5. ^ Statement on Signing the Year 2000 Information and Readiness Disclosure Act. The American Presidency Project, UC Santa Barbara. 1998-10-19. presidency.ucsb.edu
  6. ^ Statement on Signing the Y2K Act. The American Presidency Project, UC Santa Barbara. 1999-07-20. presidency.ucsb.edu
  7. ^ Fact Sheet on Final Y2K Readiness Report. The White House (National Archives). 1999-11-10. clintonwhitehouse6.archives.gov
  8. ^ 20 Years Later, the Y2K Bug Seems Like a Joke—Because Those Behind the Scenes Took It Seriously. TIME. 2019-12-30. time.com
  9. ^ Y2K: 10 years later. Computerworld (InfoWorld). 2010-01-04. computerworld.com
  10. ^ Y2K Came and Went. TIME. 2000-01-03. time.com
Events & milestones on WikiTech
Milestones in computing
Software bugs
All events & milestones