Agarwal, Vinay (Cognizant) wrote:

>Hi, I am not sure if this is a bug .
>    I am trying to read a xls file which has a cell with Date format.
>    I have used EventExample.java for this purpose. What is happening is
>that 
>instead of date it returns me a number. I looked at the APIs for DateRecord
>but 
>there isn't such class. I am just wondering how to get around this problem,I
>am 
>aware that Excel stores dates as numbers and probably i am getting that
>number. 
>
http://cvs.apache.org/viewcvs/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java

>
>Why dont we have DateRecord class similar to NumericRecord.
>
Because Excel doesn't.   The records are matched to low-level structures 
in Excel.

-Andy



Reply via email to