I have to read the format of a cell with date to String, it works fine but the year is strange, I attach part of the code and what it shows:
case Cell.CELL_TYPE_NUMERIC:
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
String s = sdf.format(cell.getDateCellValue());
if(DateUtil.isCellDateFormatted(cell)){
System.out.print(s);
}
System.out.print(cell.getNumericCellValue());
break;
Show the following: if my date is: 01/03/1994
per screen: 01/03/199434394.0