ArticleslgStudy

computer science

Year 2000 problem

Year 2000 problem is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Year 2000 problem rather than just read about it. In short: The Year 2000 problem (Y2K) was the potential for computer errors on the Gregorian calendar related to the formatting and storage of calendar data for dates in and after the year 2000. Many programs represented four-digit years with only the final two digits, e.g. 1985 as 85, making the year 2000 indistinguishable from 1900.

Year 2000 problem — main illustration
Year 2000 problem — illustration

Key takeaways

  • Year 2000 problem belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Year 2000 problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Year 2000 problem from memory before moving on to harder problems.

Reference excerpt

The Year 2000 problem (Y2K) was the potential for computer errors on the Gregorian calendar related to the formatting and storage of calendar data for dates in and after the year 2000. Many programs represented four-digit years with only the final two digits, e.g. 1985 as 85, making the year 2000 indistinguishable from 1900. Computer systems' inability to distinguish dates correctly had the potential to bring down worldwide infrastructures for computer-reliant industries. In the years leading up to the turn of the millennium, the public gradually became aware of the "Y2K scare", and individual companies predicted the global damage caused by the bug would require anything between $400 billion and $600 billion to rectify. A lack of clarity regarding the potential dangers of the bug led some to stock up on food, water, and firearms, purchase backup generators, and withdraw large sums of money in anticipation of a computer-induced apocalypse. Contrary to published expectations, few major errors occurred in 2000. Supporters of the Y2K remediation effort argued that that was primarily due to the pre-emptive action of many computer programmers and information technology experts. Companies and organizations in some countries, but not all, had checked, fixed, and upgraded their computer systems to address the problem. U.S. President Bill Clinton, who organized efforts to minimize the damage in the United States, labelled Y2K as "the first challenge of the 21st century successfully met", and retrospectives on the event typically commend the programmers who worked to avert the anticipated disaster. Critics argued that even in countries where very little had been done to ready software, problems were minimal. The same was true in sectors such as schools and small businesses, where compliance with Y2K policies was inconsistent at best.

Background Y2K is a numeronym and was the common abbreviation for the year 2000 software problem. The abbreviation combines the letter Y for "year", the number 2 and a capitalized version of k for the SI unit prefix kilo meaning 1000; hence, 2K signifies 2000. It was also named the "millennium bug" because it was associated with the popular (rather than literal) rollover of the millennium, even though most of the problems could have occurred at the end of any century. Computerworld's 1993 three-page "Doomsday 2000" article by Peter de Jager was called "the information-age equivalent of the midnight ride of Paul Revere" by The New York Times. The problem was the subject of the early book Computers in Crisis by Jerome and Marilyn Murray (Petrocelli, 1984; reissued by McGraw-Hill under the title The Year 2000 Computing Crisis in 1996). Its first recorded mention on a Usenet newsgroup is from 18 January 1985, by Spencer Bolles. The acronym Y2K has been attributed to Massachusetts programmer David Eddy in an e-mail sent on 12 June 1995. He later said, "People were calling it CDC (Century Date Change), FADL (Faulty Date Logic). There were other contenders. Y2K just came off my fingertips." The problem started because on both mainframe computers and later personal computers, memory was expensive, from as low as $10 per kilobyte to more than US $100 per kilobyte in 1975. It was therefore very important for programmers to minimize usage. Since computers only gained wide usage in the 20th century, programs could simply prefix "19" to the year of a date, allowing them to only store the last two digits of the year instead of four. As space on disc and tape storage was also expensive, these strategies saved money by reducing the size of stored data files and databases in exchange for becoming unusable past the year 2000. This meant that programs facing two-digit years could not distinguish between dates in 1900 and 2000. Dire warnings at times were in the mode of:

The Y2K problem is the electronic equivalent of the El Niño and there will be nasty surprises around the globe. — John Hamre, United States Deputy Secretary of Defense Options on the De Jager Year 2000 Index, "the first index enabling investors to manage risk associated with the ... computer problem linked to the year 2000" began trading mid-March 1997. Special committees were set up by governments to monitor remedial work and contingency planning, particularly by crucial infrastructures such as telecommunications, to ensure that the most critical services had fixed their own problems and were prepared for problems with others. While some commentators and experts argued that the coverage of the problem largely amounted to scaremongering, it was only the safe passing of the main event itself, 1 January 2000, that fully quelled public fears. Some experts who argued that scaremongering was occurring, such as Ross Anderson, professor of security engineering at the University of Cambridge Computer Laboratory, have since claimed that despite sending out hundreds of press releases about research results suggesting that the problem was not likely to be as big as some had suggested, they were largely ignored by the media. In a similar vein, the Microsoft Press book Running Office 2000 Professional, published in May 1999, accurately predicted that most personal computer hardware and software would be unaffected by the year 2000 problem. Authors Michael Halvorson and Michael Young characterized most of the worries as popular hysteria, an opinion echoed by Microsoft Corp.

Programming problem The practice of using two-digit dates for convenience predates computers, but was never a problem until stored dates were used in calculations.

Bit conservation need

… excerpt ends here. Continue reading the full article.

Illustrations

Year 2000 problem: An electronic sign in French at École centrale de Nantes on 3 January 2000, incorrectly displaying the year as 1900. English translation: "Welcome to the Central School of Nantes 12:09 3 January 1900."
An electronic sign in French at École centrale de Nantes on 3 January 2000, incorrectly displaying the year as 1900. English translation: "Welcome to the Central School of Nantes 12:09 3 January 1900."
Year 2000 problem: Webpage screenshots showing the JavaScript .getYear() method problem, which depicts the year 2000 problem
Webpage screenshots showing the JavaScript .getYear() method problem, which depicts the year 2000 problem
Year 2000 problem: An Apple Lisa does not accept the date.
An Apple Lisa does not accept the date.
Year 2000 problem: Receipt from a bar in Waikīkī with a Y2K-related error, showing the date as '1909' instead of 2009. The day of the week is given as Thursday, which is correct for October 1, 2009 but incorrect for October 1, 1909, which was a Friday, showing that a separate procedure was used to calculate the weekday.
Receipt from a bar in Waikīkī with a Y2K-related error, showing the date as '1909' instead of 2009. The day of the week is given as Thursday, which is correct for October 1, 2009 but incorrect for October 1, 1909, which was a Friday, showing that a separate procedure was used to calculate the weekday.
Year 2000 problem illustration

Worked examples

Example 1 — a first encounter with Year 2000 problem

Start with the simplest possible case. Write down what Year 2000 problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Year 2000 problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Year 2000 problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Year 2000 problem

In research
Year 2000 problem appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Year 2000 problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Year 2000 problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2000 in Internet culture, 2000 in computing, Calendars, so understanding it makes those chapters shorter.
In everyday life
Look for Year 2000 problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Year 2000 problem” →

How to study Year 2000 problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Year 2000 problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Year 2000 problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Year 2000 problem in simple terms?

The Year 2000 problem (Y2K) was the potential for computer errors on the Gregorian calendar related to the formatting and storage of calendar data for dates in and after the year 2000. Many programs represented four-digit years with only the final two digits, e.g. 1985 as 85, making the year 2000 i…

Why does Year 2000 problem matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Year 2000 problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Year 2000 problem.

Tags

  • 2000 in Internet culture
  • 2000 in computing
  • Calendars
  • Doomsday scenarios
  • January 2000
  • Software bugs
  • Technology hazards
  • Time formatting and storage bugs
  • Turn of the 3rd millennium

Keep exploring