Date in XLS sheet not parsing correctly
问题 I am trying to read a XLS file using 'XLSX' node-module with a column having dates. After parsing the file what I found is that the dates are of few dates back from that of the dates in the sheet. This is what I a doing. var workbook = XLSX.readFile(filePath); var grossPayoutSheet = workbook.Sheets[worksheets[1]]; for (var i in grossPayoutSheet) { if (i[0] === "!") continue; var col = (!isNaN(parseInt(i.substring(1)))) ? i.substring(0,1) : i.substring(0,2); var row = (!isNaN(parseInt(i