I am facing difficulties while trying to insert a date variable into a database table. My variable is called:
Date date4;
The date4 variable va
Convert util date to sql date
java.sql.Date sqlDate = new java.sql.Date(date4.getTime());