Hi,
I have a simple flow that looks for new file in Sharepoint and record the file name with the date of creation in an excel file.
All works except the date of creation which return the day and month swapped.
In Power Automate, I can see in the log the Date being displayed like 2024-04-08T06:06:58Z. So April the 8th.
In the "Add line to Excel" block, I did set a file DATE like : formatDateTime(triggerBody()?['Created'],'dd/MM/yyyy')
In the log I see DATE as "08/04/2024", 8th of april (which is my defaut location setting as I am in Europe).
But when I open the excel file, the 8th of April becomes the 4th of August !
Is there a setting somewhere or what do I do wrong in the blocks ?
I search though but could not make it to work.
Thanks