aspose file tools*
The moose likes Java in General and the fly likes Reading date from Excel Spreadsheet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading date from Excel Spreadsheet " Watch "Reading date from Excel Spreadsheet " New topic
Author

Reading date from Excel Spreadsheet

Shweta Gulati
Greenhorn

Joined: Apr 26, 2001
Posts: 15
Hi,
I am using jxl api to read data from excel spreadsheet in java. I am facing the problem when I start reading date from the spreadsheet. If I enter the date as mm/dd/yyyy format and then I get the data in Cell object using the getContents method it returns me date in mm/dd/yy format.
I want to know how to get the value that is entered in the cell as it is if the data is in date format.
Thanks and Regards,
Shweta
 
wood burning stoves
 
subject: Reading date from Excel Spreadsheet