web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / formatDateTime functio...
Power Automate
Unanswered

formatDateTime function combined with item function

(0) ShareShare
ReportReport
Posted on by

Hello,

 

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):

 

2022-05-31T08:36:28Z

 

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

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard