Starting with the epoch time
1 January 1970 00:00:00
and counting to the limit a 32-bit signed integer can reach, the day when we reach the limit of counting time (in computer, of course) is 2038-1-19, as given in the answer by Matt Howells.
a 32-bit signed integer using 1970-1-1 as its epoch can represent dates up to 2038-1-19, on which date it will wrap around to 1901-12-13
If it wraps around to a back date, what then is the solution to count the time forward instead of wrapping to back date? As given in wikipedia
There is no universal solution for the Year 2038 problem.
I don't feel comfortable about this! There must be some thought as to the solution to this problem. I understand the cause for not using a 64-bit integer in the first place (which would give us 292 billion years to relax!): not many machines could (could any?) handle 64-bit integers that time. And switching to a 64-bit integer now has its own problems. What then could be the solution to this?