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

Passing Date to HSSF Cell

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1476
    
    1
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
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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: http://aspose.com/file-tools
 
subject: Passing Date to HSSF Cell