import java.util.GregorianCalendar; class TestCal { public static void main(String argv[]) { GregorianCalendar then = new GregorianCalendar(1973, 10, 17); System.out.println(then.getTimeInMillis()); } }