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

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,191)