posted 11 years ago
CreationHelper createHelper = workbook.getCreationHelper();
CellStyle cellStyle = workbook.createCellStyle();
cellStyle.setDataFormat(createHelper.createDataFormat().getFormat("d/m/yy"));
cell.setCellValue(res.getString("mdate"));
cell.setCellStyle(cellStyle);
Eventhough i set like this its coming like 01-01-1970 05:30:00.....what i have to do reply me......