wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1394
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: 3274

Does setDataFormat () take other options?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
It is sorta covered in the JavaRanch Style Guide.
subject: Passing Date to HSSF Cell
Similar Threads
HSSF Cell will not Display as Integer
Web Page to Excel Sheet
Identifier Expected,Misplaced Constructs
Write character to excel using POI
Determine If Value is Integer or Float