Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Be prepared for Y2038
http://www.dewtronics.com ^ | Feb 3, 2005 | Dr. GUI

Posted on 02/05/2005 9:22:39 AM PST by ATOMIC_PUNK

The Year 2038 Bug

You made it through Y2K, but will you make it through Y2038 (also called Y2.038K)?  So why did Y2K go so smoothly? And what is the difference with Y2038?

In Y2K, computers still kept perfect time. The only issue was that software that used only the last two digits of the year had trouble determining that 00 really was greater than 99.  It was just a matter of fixing software to use the full year value as it should have to begin with.

But, Y2038 is entirely different.  In Y2K, computers still kept perfect time and internally had no problem with the roll-over to year 2000.  But not so with Y2038!  In Y2038, computers are going to forget how to tell time and for many will roll-back to the year 1970!

This isn't limited to just PCs but many other devices as well.  The specs on my wristwatch says that it even stops in 2038!

The problem is that some "intelligent" person years ago used a long signed integer to store the date in the PC as being the number of seconds from midnight January 1st of 1970.  The problem is that those 31 bits (31 instead of 32 because of the sign bit) only last until 18 January 2038 at 19:14:07 (for all time zones).  At that point the number is too large to fit in a signed integer, overflows, and rolls back.

Why not just add more bits?  Well, the problem isn't limited to just software, but many hardware devices also have this limitation.

How do you fix it?  Well, you'll have to buy new software for every program you own!  And, most all of the computers and hardware will have to be replaced as well!

Can you start fixing it now?  The answer is NO.  Hardware and software vendors are still developing using this year 2038 limitation.

My conclusion as to why everyone is still developing with this limitation are that 1) it would take quite an effort to start implementing a fix and 2) [probably the more correct reason] by not implementing a fix now, people can make more money. Think about it, not only will people make money on the software and hardware they develop now, but several years from now, they have automatic sales generated by the fact that everyone will be forced to buy new software and hardware.  Plus, by waiting to the last minute, not only is there more sales, but they get paid bigger bucks because of the urgency of the problem!

Don't believe me?  Well, listen to what Microsoft says: Dr. GUI on the Year 2038 Bug.

However, in that article he incorrectly states that there is currently a work around that solves the problem by using COleDateTime.  In a followup article, he explains why that doesn't work: More on the Y2.038K Bug.

Conclusion: Be prepared for Y2038!  It is a much much more serious problem than Y2K ever was.  Be prepared to spend lots of money and be prepared for all of the problems once predicted for Y2K to actually happen!!


TOPICS: Computers/Internet; Science
KEYWORDS: 2038; unix
Navigation: use the links below to view more comments.
first previous 1-2021-4041-48 next last
To: A Balrog of Morgoth

Why yes .... yes i am .... But it looks like you all are having a bit of fun as well !

Isn't life grand !?


21 posted on 02/05/2005 9:40:18 AM PST by ATOMIC_PUNK
[ Post Reply | Private Reply | To 18 | View Replies]

To: dirtboy

Let me see, roughly 15 years ago the 386 SX came out. There are how many of those still left in homes? Other than as collectors items, I don't think you can even give those away.

30 years from now, our current computers will be an interesting historical footnote.

So, I don't think I'm going to worry about 2038...


22 posted on 02/05/2005 9:44:19 AM PST by stylin_geek (Liberalism: comparable to a chicken with its head cut off, but with more spastic motions)
[ Post Reply | Private Reply | To 10 | View Replies]

To: ATOMIC_PUNK

In fact, in 30 years, I may be a historical footnote, and probably not very interesting, either.


23 posted on 02/05/2005 9:47:18 AM PST by stylin_geek (Liberalism: comparable to a chicken with its head cut off, but with more spastic motions)
[ Post Reply | Private Reply | To 22 | View Replies]

To: dirtboy
23 years ago I was using WordStar on a multiuser CPM machine using 64K Z-80 processors - and with a whopping 10 meg hard drive that was the size of a breadbox. Televideo terminal and a daisy-wheel printer finished the package.

Man, you had a fancy system. I had 2 5.25 floppies (no hard drive). The ROM ate up 4 or 5K of memory, so I only had about 59K usable by the system. I still have the daisy wheel printer and the computer in a closet. I did find a site the other day where you can download various flavors of CP/M.

24 posted on 02/05/2005 9:50:49 AM PST by PAR35
[ Post Reply | Private Reply | To 14 | View Replies]

To: stylin_geek
Let me see, roughly 15 years ago the 386 SX came out. There are how many of those still left in homes? Other than as collectors items, I don't think you can even give those away.

In fall of 1986, I was using at my job one of the very first Compaq 386 machines. 16 Mhz, 1 meg of memory, 40 meg hard drive, EGA monitor. Cost seven grand at the time, or about 11 grand in today's dollars.

The software I wrote on that machine for direct response media analysis continued in use until fall of 2000 - running on another 386. So software can hang around for some time, on otherwise obsolete machines, as long as it does the job. But 34 years? Not at the rate of change now.

25 posted on 02/05/2005 9:50:50 AM PST by dirtboy (Tagloin down for oil change and lube because it was squeaking)
[ Post Reply | Private Reply | To 22 | View Replies]

To: ATOMIC_PUNK
Geez! We are doomed again!

Methinks I will have new equipment by 2038. Don't you?

26 posted on 02/05/2005 9:57:06 AM PST by Cold Heat (What are fears but voices awry?Whispering harm where harm is not and deluding the unwary. Wordsworth)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK

*chuckle*
In all likelyhood, in 33 years I won't be around to see if it happens.


27 posted on 02/05/2005 9:57:35 AM PST by Darksheare ("Cast off your amazing human ruse and show them our mighty robot form!" - but I'm a ghost!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: stylin_geek
In fact, in 30 years, I may be a historical footnote

I should be totally recycled by that time.:-)(dust to dust)

28 posted on 02/05/2005 9:58:50 AM PST by Cold Heat (What are fears but voices awry?Whispering harm where harm is not and deluding the unwary. Wordsworth)
[ Post Reply | Private Reply | To 23 | View Replies]

To: PAR35
I used some machines that had 8 inch floppies. Now a lot of machines don't even have floppy drives.

I still remember the first time I heard the term "gigabyte" - and remember thinking "man, that's a lot of disk space". Now you can blow multiple gigs in one sitting.

I remember that 10-meg winchester drive that was bigger than a dictionary and now I see those USB drives with 512 meg that are smaller than a Bic lighter and I marvel at the changes.

29 posted on 02/05/2005 10:02:33 AM PST by dirtboy (Tagloin down for oil change and lube because it was squeaking)
[ Post Reply | Private Reply | To 24 | View Replies]

To: dirtboy
I used some machines that had 8 inch floppies.

I have seen the 8" floppies, but all of the computers I used had the 'small' 5.25 floppies.

30 posted on 02/05/2005 10:10:12 AM PST by PAR35
[ Post Reply | Private Reply | To 29 | View Replies]

To: ATOMIC_PUNK
Can you start fixing it now?  The answer is NO.  Hardware and software vendors are still developing using this year 2038 limitation.

Mac computers with the G5 processor hardware use 64-bit values in the internal clock, and some parts of the Mac OS X operating system take advantage of that feature to prevent the epoch rollover problem.

But most applications still extract only the 32-bit time value, so there is more work to be done.

31 posted on 02/05/2005 10:12:33 AM PST by HAL9000 (Skype me at "FreeRepublic")
[ Post Reply | Private Reply | To 1 | View Replies]

To: All; Howlin; Timesink; Utah Girl; hosepipe; backhoe; FITZ; Happy2BMe; 68-69TonkinGulfYachtClub; ...
Let me explain what brought this on ....this quote from the movie JFK :

Let's ask the two men who have profited the most from the assassination -- your former President, Lyndon Baines Johnson and your new President, Richard Nixon -- to release 51 CIA documents pertaining to Lee Oswald and Jack Ruby, or the secret CIA memo on Oswald's activities in Russia that was "destroyed" while being photocopied. All these documents are yours -- the people's property -- you pay for it, but because the government considers you children who might be too disturbed to face this reality, because you might lynch those involved, you cannot see these documents for another 75 years. I'm in my 40s, so I'll have shuffled off this mortal coil by then, but I'm already telling my 8-year-old son to keep himself physically fit so that one glorious September morning in 2038 he can walk into the National Archives and find out what the CIA and the FBI knew. They may even push it back then. It may become a generational affair, with questions passed down from father to son, mother to daughter, in the manner of the ancient runic bards. Someday somewhere, someone might find out the damned Truth. Or we might just build ourselves a new Government like the Declaration of Independence says we should do when the old one ain't working -- maybe a little farther out West.

I was curious about the date being used so i did a google on the year 2038 Just that phrase and this is what popped up in the first page of the search i thought to myself that this was a funny coincidence i don't know why i just did my mind kind of works that way i will say one thing it's harder to find information on the papers than you would think its almost as if it were guarded as something you want the public to forget about

Now i know it was just a movie but the more i dug the more strange it got so i figured i would throw it out here to see what the great minds of FR thought but i guess its not to be taken seriously enough to be a good subject

I hit the website from NASA and that threw me over the top on the year 2038 i mean its a NASA website who we supposed to beleive we cant distrust everyone can we ? or should we ?

32 posted on 02/05/2005 10:18:27 AM PST by ATOMIC_PUNK
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK

Well, you guys work on this problem, I'm concentrating on the Y10K problem. We will need an extra digit in the year Jan 1, 10000.


33 posted on 02/05/2005 10:23:44 AM PST by Lokibob (All typos and spelling errors are mine and copyrighted!!!!)
[ Post Reply | Private Reply | To 13 | View Replies]

To: ATOMIC_PUNK
Somewhere I have a cartoon from Jan 2000. It shows a newscaster on TV screaming, "ONLY 999 YEARS TO Y3K!!". The guy watching the TV had pulled out a revolver, and was about to take care of the TV set.
34 posted on 02/05/2005 10:27:51 AM PST by Professional Engineer (Did I mention I like flags?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK; ShadowAce
Been there, done that....


35 posted on 02/05/2005 10:34:47 AM PST by JoJo Gunn (More than two lawyers in any Country constitutes a terrorist organization. ©)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK

I was always worried about the Y10K problem when the 4-digit year would no longer suffice.

I feel like we were being short sighted.


36 posted on 02/05/2005 10:36:16 AM PST by freedumb2003 (Don't bring a moped to a car fight)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lokibob

Great minds think alike. LOL


37 posted on 02/05/2005 10:36:48 AM PST by freedumb2003 (Don't bring a moped to a car fight)
[ Post Reply | Private Reply | To 33 | View Replies]

To: dirtboy
33 years ... hmmmm ... 23 years ago I was using WordStar on a multiuser CPM machine using 64K Z-80 processors - and with a whopping 10 meg hard drive that was the size of a breadbox

You had a hard drive? What were you, rich?

I think I still have some 8-/12 Inch floppies around here somewhere.

38 posted on 02/05/2005 10:38:10 AM PST by freedumb2003 (Don't bring a moped to a car fight)
[ Post Reply | Private Reply | To 14 | View Replies]

To: Cold Heat
I should be totally recycled by that time


39 posted on 02/05/2005 10:40:15 AM PST by freedumb2003 (Don't bring a moped to a car fight)
[ Post Reply | Private Reply | To 28 | View Replies]

To: freedumb2003
You had a hard drive? What were you, rich?

Nah, working for a company providing inventory control and order entry systems for auto parts stores. First computer-related job I had. In many ways, those multiuser CPM machines were vastly superior to anything the IBM PC and DOS worlds came out with for years hence - to add a user, all you had to do was drop in a new slave board and hook up another terminal.

40 posted on 02/05/2005 10:44:59 AM PST by dirtboy (Tagloin down for oil change and lube because it was squeaking)
[ Post Reply | Private Reply | To 38 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-48 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson