Question: how to get current date?
Answer: Date date=java.util.Calendar.getInstance().getTime(); System.out.println(date);