import java.sql.Date;
import java.text.ParseException;
import java.util.Calendar;
public class MainClass {
public static void main(String[] args) throws ParseException {
Calendar currenttime = Calendar.getInstance();
Date sqldate = new Date((currenttime.getTime()).getTime());
}
}