1// function to convert excel date to normal js date
2excelDateToJSDate(excelDate) {
3 var date = new Date(Math.round((excelDate - (25567 + 1)) * 86400 * 1000));
4 var converted_date = date.toISOString().split('T')[0];
5 return converted_date;
6}
1var record_date = Date.parse(item.record_date_string)
2var days = Math.round((record_date - new Date(1899, 11, 30)) / 8.64e7);
3item.record_date = parseInt((days).toFixed(10));
4
5return item;