Hello Community,

I am now working on a report to write excel tabel, I am using the createExcelWorkbook function.

I have to write a date into the cell and the content of the cell should also be in date format in the excel table. So that when I use a filter to the whole column, I can have a good sorted view of all the dates. (as the example 2020,2019,2018,2017, I change their format manually in the excel). At the moment, all the dates are considered as string and when I use the filter, the dates are not sorted and each date is an independent entry in the filter, instead of being sorted into one year.(as shown in the image the last two enties in the filter).

Thanks in advance!

image