my dog learned polymorphism
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading date from Excel Spreadsheet " Watch "Reading date from Excel Spreadsheet " New topic

Reading date from Excel Spreadsheet

Shweta Gulati

Joined: Apr 26, 2001
Posts: 15
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,
I agree. Here's the link:
subject: Reading date from Excel Spreadsheet
It's not a secret anymore!