Hi,
you can check the type of the cell and based on the type of cell you call
respective methods.
getDateCellValue(),getStringCellValue() and so on...
Check Util package.. u might come accross with some to check whether the
cell contains date or not...

Nags

-----Original Message-----
From: Swati, Singhal (IE10) [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 2:51 PM
To: [EMAIL PROTECTED]
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

Reply via email to