I have this code to write to an excel file.
DateFormat customDateFormat = new DateFormat("yyyy/MM/dd HH:mm:ss");
WritableCellFormat dateFormat = new WritableCellFormat(new WritableFont(WritableFont.ARIAL), customDateFormat);
I can successfully write to the excel file but there's one problem which is that Excel does not recognize my date format("yyyy/MM/dd HH:mm:ss").
But when I select the cell and hit enter. The text formatted into dateformat that i specify.
When I select the Format Cell option,it's already pre-selected at the "yyyy/MM/dd HH:mm:ss") but yet not in that format.
Is it concerning with excel or jxl? I have been searching for the whole day. Thanks!