The date column in the database should be a TIMESTAMP or DATE or TIME.
These are retrieved as java.sql.Timestamp or java.sql.Date or java.sql.Time respectively.
All of these classes extend java.util.Date.
So the data should already be in the format you are asking for.
So there is nothing to do.