I am reading some cell value using POI in java. Now suppose I enter a date like 10.10.2015
in that case when I set celltype Numeric
and say getDatecellValue()
it returns me date in calendar format like Nov 10, 2015 mm:ss xyz
. Apart from it I tried using below code snippet
new DataFormatter().formatCellValue(cell)
and this return 10/10/15
. But I want to read date in POI(in java code) as it is like text that mean 10.10.2015
.