Documente Academic
Documente Profesional
Documente Cultură
Area Of Focus
Name Overview History The Y2K38 Bug Problem Definition Importance of Time Time and Date Calculation Role of Time Consequences Solution Myths
Name
Abbreviation for the Y2K38 is adopted from Y2K Acronym accredited by Massachusetts programmer David Eddy Y = year, k = kilo or 1000 (2k = 2000) Also known as the Unix millennium bug or Y2K38 bug
Overview
January 19, 2038 will be a serious problem for many platforms, because these systems will "run out of time". Erroneous values satellites falling out of orbit, massive power outages, hospital life support system failures, phone system interruptions, bank problems, etc.
History
Computer Dates and Time
Calendars Time Zones EAM Unix Epoch Leap Seconds
Contd..
Problem Definition
Problem arises due to Standard time library
Importance of Time
Major aspect of the physical world over which we have no control independent variable in most computer applications real time applications
60
3 600
86 400
Role Of Time
2's complement 32-bit signed integer, such as a time_t, set to its maximum value of 2 147 483 647 and then incremented by 1, will become -2 147 483 648. "-" sign at the beginning of this large number. A time_t value of -2 147 483 648 would represent December 13, 1901 at 8:45:52 PM GMT.
Consequences
Greatest danger with the Year 2038 Problem is its invisibility Scheduling software, billing programs, personal reminder calendars, and other such pieces of code that set dates in the near future will fail as soon as one of their target dates exceeds 19-Jan-2038, assuming a time_t is used to store them.
Contd..
Consequences
Embedded functions present a serious maintenance problem for all rollover issues like the year 2038 problem Programmers around the world embrace C because it gives maximum control and efficiency to the programmer. The 2038 problem is more likely to result in air traffic control disasters, life-support systems failure, and power grid meltdown than the Y2K problem.
Solution
Adopt the 64-bit computers In a 64-bit program, a time_t could represent any date and time in the future out to 292 000 000 000 A.D., which is about 20 times the currently estimated age of the universe. Unsigned in 32-bit software
an unsigned 32-bit integer can
Myths
Will there be a Y2K38 bug? Fixing Y2K bug will solve Y2K38 bug
user interface database where only the last two digits are stored rare instances
Thank You
For Your Cooperation