Trying to enter dates into a database, got a JDatePicker(datecEventDate) and need to need its date and it to a database
java.sql.Date EventDate = datecEventDate.getDate();
This doesnt seem to work and have tried other variations I need help converting the util.Date type to sql.Date