poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl-Heinz Zengerle" <karl-heinz.zenge...@sawag.com>
Subject AW: Reading a Date
Date Mon, 17 Nov 2003 09:24:08 GMT
Hi Swati.

Dates come as numeric data. You've methods like getDateCellValue() (class
HSSFCell) and HSSFDateUtil.isCellDateFormatted() and
HSSFDateUtil.isValidExcelDate() to read it as a date or to check whether
it's date formatted.

Regards,

Karl-Heinz Zengerle.


-----Urspr√ľngliche Nachricht-----
Von: Swati, Singhal (IE10) [mailto:Swati.Singhal@honeywell.com]
Gesendet: Montag, 17. November 2003 10:21
An: poi-user@jakarta.apache.org
Betreff: Reading a Date


Hello,

How do i read a Date from an excel file??

Do i need to use DataFormat for that??
But how does my program know it's reading a Date from a particular cell??

Regards,
Swati


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message