Epoch or Unix Time - Long.MAX_VALUE Human Readable Date

epoch, java, long-integer, time, unix-timestamp

Solution

System.out.println(new java.util.Date(Long.MAX_VALUE).toGMTString());
// output:  17 Aug 292278994 07:12:55 GMT

Problem

If stored in milliseconds, what is the human readable date for the value dateTime? Epoch is Thursday, 1 January 1970, and I mean long as in Java long. ``` long dateTime = Long.MAX_VALUE; ``` All the online tools seem to crash when I give them a value this large.

Original source

Related problems