poi读取excel日期后竟然是数字!!!!
最主要的一段代码
public final static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
if (DateUtil.isCellDateFormatted(cell)) { //判断是否是日期
Date theDate = cell.getDateCellValue();
ret = simpleDateFormat.format(theDate); //转换
}