You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Luce, Marc" <Ma...@bankofamerica.com> on 2005/05/25 16:05:51 UTC

Date cells

I am trying to read an excel file and I am struggling with Date fields.  I have a column that has a custom date format applied to the whole column and there is no data in it.  When I attempt to read this column (cell.getDateCellValue()) I would expect it to return null.  But it is returning today's date.  By the way, getCellType returns 'Numeric'.  Is there anyway for me to detect that that cell is empty?

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/