I don’t think this is an error, it’s just how Excel stores dates..
The n8n “Extract from File” node is simply outputting what it receives from Excel..
Your options are:
Convert the date yourself using custom code or a Set node, for example:
{{ new Date((($json['Your excel date column'] - 25569) * 86400 * 1000)).toISOString() }}
Or if possible, avoid using Excel files and export the file as a CSV instead, or even use Google Sheets, to get the exact values you see (without Excel’s internal date formatting).
If you’re self-hosting n8n, use Python libraries to deal with Excel files..
I saw these solutions i previous posts but it seems strange to me that Excel’s “Date” format isn’t supported (I know Office file formats are awful!), and I was hoping to find a better solution three years after these initial posts.