Java tutorial
import java.time.LocalDateTime; import java.time.ZoneOffset; public class Main { public static void main(String[] args) { //Getting date from the base date i.e 01/01/1970 LocalDateTime dateFromBase = LocalDateTime.ofEpochSecond(10000, 0, ZoneOffset.UTC); System.out.println("10000th second time from 01/01/1970= " + dateFromBase); } }