5
davide
7y

What happens on Friday, 11 April 2262 23:47:16.855, to the Unix timestamp? It arrives to the maximum value

Comments
  • 3
    Y2.262k bug 😂😂😂
  • 1
    How come? If you store seconds from epoch in 32 bits, signed, that would be 2038. If you stored it in 64 bits, signed, then you would only reach the maximum well after the heat death of the universe.
  • 2
    To be more precise it would be at 292277026596-12-04T15:30:07, a lovely Sunday.
  • 0
    Java method will fail to get the timestamp
  • 0
  • 0
    Because it's long
  • 1
    @davide A long would still be 64 bits!
  • 0
    2038 is the real issue. There are many libraries that will fail then. But since people have already started working on this, I believe that like Y2K it won't be a real issue.
Add Comment