The easiest way i can think of to insert the current date
into database is as follow.
Assume you have a Statement object stmt.
format your data string as follow
*********************************************************
String dt = new SimpleDateFormat().format(new Date());
*********************************************************
then execute the query of insert like this:
*********************************************************
stmt.executeUpdate(parameter indext, dt);
************************