I am using apache poi 3.5 for extracting data from the excel sheet.i having the date cell formatted in mm/dd/yyyy.
If i print using cell.getDateCellValue() then prin
just call the method formatCellValue(Cell), formatCellValue(cell, formulaEvaluator) in the DataFormatter class. It will print the value as it is in the excel sheet.
formatCellValue(Cell)
formatCellValue(cell, formulaEvaluator)
DataFormatter
formatCellValue(cell, formulaEvalator) for formula cells...
formatCellValue(cell, formulaEvalator)