
The year 2038 problem or unix millennium bug(same as y2k problem) may cause some computer software to fail before or in the year 2038. The problem affects all software and systems that store system time as a signed 32 bit integer .For the uninitiated, time_t is a data type used by C and C++ programs to represent dates and times internally. time_t is actually just an integer, a whole number, that counts the number of seconds since January 1, 1970 at 12:00 AM Greenwich Mean Time. A time_t value of 0 would be 12:00:00 AM (exactly midnight) 1-Jan-1970, a time_t value of 1 would be 12:00:01 AM (one second after midnight) 1-Jan-1970, etc.
By the year 2038, the time_t representation for the current time will be over
One second later, on 19-January-2038 at 3:14:08 AM GMT, disaster strikes.
3 comments:
Oh...... ...it's a new knowledge to me.How it will overcome?
Yeah.. Now a days we are migrating to 64 bit operating systems(Ubuntu) and 64 bit processors(AMD Athlon). and the 2038 problem happens only in 32 bit os or programs. before 2038 the whole system will be using 64 bit os and processors.
http://vancouver-webpages.com/time/Y2K38.html
Post a Comment