Hello Vince,
The numbers in the xlsx file represent 2 + the number of days since 1900-01-01 , which is Excel’s default way of handling Dates.
To customize this, you can set the cellsformat
property of your date column.
For example the following column:
{
text: "My date",
datafield: 'myDate',
cellsformat: 'dd.MM.yyyy HH:mm'
}
will correctly export the data to an xlsx file.
If you have any other questions, please do not hesitate to contact us again!
Best regards,
Ivan Peevski
jQWidgets Team
https://www.jqwidgets.com