java timestamp to date example

var but that does nto work. converet from java sql timestamp to java util date java in general it to java.sql.timestamp class…