I am trying to insert the date using this code:
java.sql.Timestamp sqlNow=new java.sql.Timestamp(new java.util.Date().getTime());
pstTimestamp(1,sqlNow);
On running the code, the result is successful, but the date is not been displayed in the database.