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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ​Incorrect date of ema...
Power Automate
Answered

​Incorrect date of email receipt

(0) ShareShare
ReportReport
Posted on by 4
 I have recently noticed a small problem with my flow. I will describe it briefly.
 
After receiving a specific email with an excel attachment, the flow starts and downloads the file to the sharepoint folder, changing its name to "email receipt date" + file name.
Such a report is downloaded every hour. I have noticed that if the email is sent, for example, on 06.12.2024 00:18, the flow will show the date 05.12.2024 23:18.
I tried to bypass the error by using the UTC NOW variable, but the results are the same.
 
Has anyone had the same or a similar problem and found a solution?
Thanks in advance for your help.
 
Adding also pictures.
​​
 
 
Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    I think the issue you're experiencing is due to time zone differences between your email server, SharePoint, and Power Automate. By default, Power Automate works with UTC (Coordinated Universal Time), and this can lead to the time discrepancies you've observed.
    The time shown in the email headers is likely in UTC or the server's local time.
    Actions like utcNow() and time-related operations are in UTC unless explicitly converted.
     
    To address this, extract the timestamp of the email and convert it to your desired time zone using the convertFromUtc() function.
     
    convertFromUtc(utcNow(), 'Eastern Standard Time', 'yyyy-MM-dd HH:mm:ss')
     
  • PW-05121753-0 Profile Picture
    4 on at
    @SudeepGhatakNZ 

    Thank you very much for your answer. The convertFromUtc() function solved my problem.

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard