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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting email time sta...
Power Automate
Unanswered

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:
I have the same question (0)
  • Verified answer
    Em27 Profile Picture
    72 on at
    Re: Getting email time stamp to be pulled from and used instead of when posted to my excel spreadsheet.

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard