| |
8.26.4.Find out how long it took for a trillion milliseconds to pass, starting at January 1, 1970 |
|
import java.util.*;
public class MainClass{
public static void main(String[] args) {
Date d1 = new Date(1000000000000L); // a trillion!
System.out.println("1st date " + d1.toString());
}
}
|
|
1st date Sat Sep 08 18:46:40 PDT 2001 |
|