File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Passing Date to HSSF Cell Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Passing Date to HSSF Cell" Watch "Passing Date to HSSF Cell" New topic

Passing Date to HSSF Cell

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1559
I am trying to get a column in my spreadsheet to have real formated dates. The result I get is a date number but when I look at the formating of the cell it is still general.

My HSSF code:

Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

Does setDataFormat () take other options?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: Passing Date to HSSF Cell
It's not a secret anymore!