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 1-2021-4041-48 next last
Where can I find more information about it and other date-related bugs?

What to look for: http://www.merlyn.demon.co.uk/critdate.htm

How to fix it: http://www.exit109.com/~ghealton/y2k/yrexamples.html

http://www.geocities.com/thestarman3/perl/perly2k.htm

http://pw2.netcom.com/~rogermw/Y2038.html

http://linuxfinances.info/info/unix2038.html

http://vancouver-webpages.com/time/Y2K38.html

http://www.phpinsider.com/php/code/Date_Calc/

http://www.silurian.com/gawp/fomg7.htm

http://www.codeguru.com/Cpp/Cpp/cpp_mfc/article.php/c775/ http://encyclopedia.thefreedictionary.com/Unix%20epoch

http://www.precisioninfo.com/index.php?doc_id=59

Mars Rover crashes, reports year as 2038 (see paragraph under heading "Condition Red") - http://marsrovers.jpl.nasa.gov/spotlight/20040831.html

http://archives.hwg.org/hwg-techniques/200001052338.AAA08753@ck-sg.p.lodz.pl

[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

Condition Red

The team was working on Mars time, in a building at JPL isolated from the California time of day by blackout shades on the windows. It was nighttime for the Spirit rover and nighttime for Spirit’s handlers.

"Sleeping and eating were optional," said Adler. "There were cots we could sleep on in our offices. This was our one objective, our primary objective in our lives, was to get our spacecraft back."

The next transmissions from Spirit were garbled. The rover was babbling, doing things like sending nonsensical communications that it date-stamped as being from the year 2038.

2038 The Year Kennedy Assasination breifs to be released ?

1 posted on 02/05/2005 9:22:39 AM PST by ATOMIC_PUNK
[ Post Reply | Private Reply | View Replies]

To: ATOMIC_PUNK
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!

And by then 95 percent of technology in use will have been re-developed.

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

To: dirtboy

The sky is falling! The sky is falling!


3 posted on 02/05/2005 9:25:42 AM PST by Francis McClobber
[ Post Reply | Private Reply | To 2 | View Replies]

To: ATOMIC_PUNK

I think thirty-three years will be plenty of time. LOL


4 posted on 02/05/2005 9:28:04 AM PST by Petronski (Lately I haven't been all that cranky. I'll tell you about it someday.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK
33 years is a long time in technology. Had you ever even seen a computer 33 years ago? Most folks had not.

In 33 years the tech will be so high you will need a ladder to get up there and see it. :)

5 posted on 02/05/2005 9:28:27 AM PST by LibKill (Beer is proof that God loves us and wants us to be happy.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: dirtboy
And by then 95 percent of technology in use will have been re-developed.

And if it isn't, I'll be 93 then and somehow I don't think this will be a problem for me

6 posted on 02/05/2005 9:28:51 AM PST by Vermonter
[ Post Reply | Private Reply | To 2 | View Replies]

To: hal_walker


We're doomed. Doomed! DOOMED!!!

7 posted on 02/05/2005 9:28:59 AM PST by Petronski (Lately I haven't been all that cranky. I'll tell you about it someday.)
[ Post Reply | Private Reply | To 3 | View Replies]

To: ATOMIC_PUNK

"Whatchyou talkin' 'bout, PUNK?"

8 posted on 02/05/2005 9:29:03 AM PST by shezza
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK
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!>

Start buying Spam now.

9 posted on 02/05/2005 9:29:14 AM PST by Lazamataz (Proudly Posting Without Reading the Article Since 1999!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK
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!

OHMYGOD! You mean I can't use the same computer and software the way I have for the last 40 years? I love my IBM 1620 - and you'll only remove my card reader from my cold, dead arms!

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

To: ATOMIC_PUNK
My conclusion as to why everyone is still developing with this limitation are that... blah, blah, blah.

Well, maybe. Or maybe it are because no one are going to be using the same hardware or software in 30 years that they is using now.

2038 The Year Kennedy Assasination breifs to be released ?

Ohhhhhhh...I see.


11 posted on 02/05/2005 9:29:28 AM PST by ScottFromSpokane (http://drunkengop.blogspot.com/)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ATOMIC_PUNK

If I am still using the same hardware in 2038 as I am now please someone kill me.


12 posted on 02/05/2005 9:30:45 AM PST by CzarNicky (The problem with bad ideas is that they seemed like good ideas at the time.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lazamataz; All

I just love posting these kinds of threads i cant help myself !


13 posted on 02/05/2005 9:32:23 AM PST by ATOMIC_PUNK
[ Post Reply | Private Reply | To 9 | View Replies]

To: ATOMIC_PUNK

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. Televideo terminal and a daisy-wheel printer finished the package.


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

To: dirtboy

Will my Tandy 2000 be effected?


15 posted on 02/05/2005 9:33:31 AM PST by MJY1288 (Happy Birthday Ronnie, We Miss You!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: ATOMIC_PUNK
I just love posting these kinds of threads i cant help myself !

The first step is to realize you are powerless over your addiction and that your life has become unmanageable.

16 posted on 02/05/2005 9:33:56 AM PST by Lazamataz (Proudly Posting Without Reading the Article Since 1999!)
[ Post Reply | Private Reply | To 13 | View Replies]

To: Lazamataz
Start buying Spam now.

I figure that the 38 cases I currently have left from Y2K should still be good then.

17 posted on 02/05/2005 9:35:27 AM PST by Harmless Teddy Bear (Naked Mole Rats are sweet, gentle and love to cuddle. Bring one home today!)
[ Post Reply | Private Reply | To 9 | View Replies]

To: ATOMIC_PUNK

Having a little fun with us, atomic?


18 posted on 02/05/2005 9:36:47 AM PST by A Balrog of Morgoth (With fire, sword, and stinging whip I drive the Rats in terror before me.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lazamataz
Start buying Spam now.

And Velveeta, "The Cheese That Cannot Die".

19 posted on 02/05/2005 9:37:47 AM PST by LibKill (Beer is proof that God loves us and wants us to be happy.)
[ Post Reply | Private Reply | To 9 | View Replies]

To: Lazamataz
The first step is to realize you are powerless over your addiction and that your life has become unmanageable.

Now you put water into a cup, it becomes the cup, You put water into a bottle, it becomes the bottle, You put it in a teapot, it becomes the teapot. Now water can flow or it can crash! Be water, my friend.--Bruce Lee

20 posted on 02/05/2005 9:38:39 AM PST by ATOMIC_PUNK
[ Post Reply | Private Reply | To 16 | View Replies]


Navigation: use the links below to view more comments.
first 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