Hi,
I am using Aspose Cells for JAVA.
I am trying to set custom format : yyyy-mm-dd to a column.
Here is my code:
Style columnStyle = ws.getCells().getColumns().get(1).getStyle();
String customFormat = “yyyy-mm-dd”;
columnStyle.setCustom(customFormat);
StyleFlag columnStyleFlag = new StyleFlag();
ws.getCells().getColumns().get(1).applyStyle(columnStyle, columnStyleFlag);
But after exporting the file, the date custom format is not set.