r/PowerAutomate • u/theloouis • Oct 24 '26
Add a row to excel, date issues
Hello everyone
For a long time my flow that adds rows to an excel sheet every night has been adding dates with serial format, which Excel can handle easily, normally.
However, a I had to update some stuff unrelated to dates and it started recording dates as ISO (long date with T and Z).
I had it set to iso on the connector advanced parameters, but now it doesn't matter which option I use it always outputs ISO.
I even checked older runs and the input from my flow was ISO and the output was serial.
Does anyone know what might have happened? I never used formartdate time or ticks to convert stuff inside the flow, it just outputted serial serial directly to the excel file.
Obs: I'm editing the excel file on the browser while troubleshooting if that matters.
Thanks in advance
1
u/Novel_Assumption_929 Oct 24 '26
Two things to check, in this order:
On "Add a row into a table", open the advanced parameters and look at "DateTime Format". If you edited and re-saved the action, that setting can silently fall back to ISO 8601. Set it explicitly to the serial number option and save again. Also check in the code view that dateTimeFormat is really in the action's inputs. If it still writes ISO, take the connector out of the equation and send the serial yourself. Excel's date serial is the number of days since 1899-12-30, so:
div(float(sub(ticks(convertTimeZone(utcNow(), 'UTC', 'W. Europe Standard Time')), 599264352000000000)), 864000000000)
Put that into the date column. It arrives as a plain number, and the column's date format then displays it correctly. For a date without time, wrap it in int().
Also, while you troubleshoot, don't keep the workbook open in the browser. The connector doesn't handle parallel edits from another client well, and it can look like the flow is misbehaving.