I am now interested. If System.getCurrentMillis() returns the number of seconds that have elapsed since January 1, 1970 with a value of type long , when will this number of seconds pass for Long.MAX_VALUE ? Probably soon! What measures will be taken? Have to increase the limit long ? New type?
- By the way, it shows the number of milliseconds and not seconds. - IL Mare
|
1 answer
This will happen 292278994 year. I think until then we have time to come up with something.
The value of long is huge. And then long just go into the minus. So it will be almost the same time.
- Oops 0.o Somewhere I incorrectly counted :) Yes, by that time there is no one to think about it already - Flippy
|