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