how to print the exact date cell value in the excel sheet date format like mm/dd/yyyy using apache poi -


i using apache poi 3.5 extracting data excel sheet.i having date cell formatted in mm/dd/yyyy.

if print using cell.getdatecellvalue() print date in other format.so, want print date in actual format of excel sheet cell.

how it..please guide me way it....

saravanan

just call method formatcellvalue(cell), formatcellvalue(cell, formulaevaluator) in dataformatter class. print value in excel sheet.

formatcellvalue(cell, formulaevalator) formula cells...


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -