A solution to this problem is to store the time in a 64-bit value, which will work for billions of years. Many computers already store the time in a 64-bit number. Computers that store time in a 32-bit number will need to be reprogrammed before 2038.