I have a variable containing the days since the epoch reference date of 1970-01-01 for a certain date.
1970-01-01
Does someone know the way to convert this variabl
Use the java.time classes in Java 8 and later. In one line:
LocalDate date = LocalDate.ofEpochDay(1000);
Calling ofEpochDay(long epochDay) obtains an instance of LocalDate from the epoch day count.