Showing results for 
Search instead for 
Did you mean: 
New Member

formatDateTime function combined with item function



I am a beginner with Power Automate and I try to create an Approval flow. I use an SharePoint Excel file as central document to start Approvals and collect approval status, timestamp and comment, too. Power Automate help me pretty much and the communication between Excel and Approval flow is given.


I experienced a constraint with the Timestamp inormation: In the referring Excel list the timestamp information was in the following format (example):




I do need need "T" and "Z" but finally format analog Excel:  "dd/MM/yyyy hh:mm:ss"


Therefore I used Expression in the Excel- updating a row- tool by follows:


formatDateTime(item('body/requestDate'),'dd/MM/yyyy hh:mm:tt')
Unfortunately it is not working and Error Message is saying that there is something wrong with my dynamic item content.
Anybody an idea how to solve this problem?
Thanks a lot in advance. 😀
BR, Bernd



Helpful resources

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,808)