File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading date from Excel Spreadsheet
 
Similar Threads
Date formatting in java.
what is this symbol "[$-409]dd-mmm-yy;@ " Excel to Java???
Custom Data format in POI
Read Excel values and store in to Database
string to date conversion