I know Java handles dates with all the finesse of a brain-damaged…
Ok there must be a better way to do this:
//get the current time and put it in a sql.Date java.util.Date dateTime = Calendar.getInstance().getTime(); pCode.setDtActive(new Date(dateTime.getTime()));
Post a Comment