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 / Getting email time sta...
Power Automate
Answered

Getting email time stamp to be pulled from and used instead of when posted to my excel spreadsheet.

(0) ShareShare
ReportReport
Posted on by 72

My flow current works like this. Email comes in > Converted to HTML to Text > it reads that captured information and adds the outputs to an excel document. 

 

Issue one 1: for the Date column I use:

formatDateTime(convertTimeZone('2024-04-01T12:00:00Z', 'UTC', 'Eastern Standard Time'), 'MM-dd-yyyy') 
 
For time I use: 
formatDateTime(convertTimeZone(utcNow(), 'UTC', 'Eastern Standard Time'), 'HH:mm:ss')
 
or capturing the Date to be added into the column has been working find until 4/1 where now my excel spreadsheet says the "Column formula is inconsistent." every date that is entered is now 4/1 and I have to manually update to today's date. 
 
So my question is how do I change it to just capture the date and time from the email?
Em27_0-1712167798983.pngEm27_1-1712167836162.pngEm27_2-1712167847065.png

I've done this in the past with a Apply to each when capturing past email that I was recovering. but I don't have an apply to reach action and didn't want to mess with the flow too much if I didn't need too. 

 

thank you for any additional insights on this. 

 

Categories:
  • Verified answer
    Em27 Profile Picture
    72 on at

    I was able to resolve this after I posted it... I guess i just needed to work it out by typing. 

     

    formatDateTime(convertTimeZone(triggerOutputs()?['body/receivedDateTime'], 'UTC', 'Eastern Standard Time'), 'MM/dd/yyyy')

     

    For the Time

    formatDateTime(convertTimeZone(triggerOutputs()?['body/receivedDateTime'], 'UTC', 'Eastern Standard Time'), 'HH:mm:ss')

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 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard