The timestamp only wraps after January 19, 2038 on 32-bit systems. On 64-bit systems, this is not a problem, since most 64-bit operating systems use signed 64-bit integers to store the timestamp. (With signed 64-bit integers, the timestamp wraps around December 4, 292,277,026,596 AD.)
By 2038, I would say that most computer systems will run on 64-bit architecture (at least), so this is probably not going to be a problem in the long run. In addition, there is nothing you can do about it - this is a problem with the underlying operating system and processor architecture, and not with the code you write.
source
share