
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.
