I am using worksheet.getCells().importResultSet with aspose-cells-7.7.2 Java
worksheet.getCells().importResultSet(rs,1,0,false, “dd/MM/yyyy HH:mm”, true);
In the Oracle database a column has a DATE type with a time. But once export to Excel the date is fine but the time is always 00:00. Why do I get no time?
Thanks for your posting and using Aspose.Cells.
Please download and use the latest version: Aspose.Cells for Java 8.1.0 and see if it makes any difference.
If your issue still persists, then please provide us simple standalone runnable sample code replicating this issue with the latest version. We will look into it and update you asap.
Please also provide your output file generated with your code for our reference.
I am able to reproduce with Aspose.Cells for Java 8.1.0 (JDK 1.4)
I attach a test case (adapt Excel file path and DB information)
Thanks for your sample code, .sql file, output xls file and using Aspose.Cells.
We were able to observe this issue in your output xls file, the time part has become 00:00.
We have logged this issue in our database for investigation. We will look into it and see how this issue could be avoided or you need some code change. Once, there is some fix or other news for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40872.
Thanks for using Aspose.Cells for Java.
Please download and try this fix: Aspose.Cells for Java v220.127.116.11 and let us know your feedback.