This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: Reading date from Excel Spreadsheet
 
Similar Threads
Date formatting in java.
what is this symbol "[$-409]dd-mmm-yy;@ " Excel to Java???
string to date conversion
Read Excel values and store in to Database
Custom Data format in POI