1、java 如果poi导出日期为字符串格式,可以分列用日期展示,然后进行筛选。
2、poi 导出日期为字符串问题处理
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm"); CellStyle ces= workbook.createCellStyle(); ces.setDataFormat(format.getFormat("yyyy-MM-dd HH:mm")); date = sdf.parse(value); cell.setCellStyle(ces); cell.setCellValue(date);