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 Automate - Building Flows
Answered

Time zone conversion issue

(0) ShareShare
ReportReport
Posted on by 54

Hi PA community,

Seeking knowledge and help please. I have a flow that is working. When a change is made to a file in a folder in SharePoint it triggers an email, happy days. However the 'modified time' is skewed and always an hour ahead. Can anyone point out where I am going wrong or where to change? Flow and formulas below

flow_step1.png

formatDateTime(addDays(utcNow(),-7))

 

 

flow_step2.png

convertTimeZone(item()?['Modified'],'UTC','W. Europe Standard Time','f')

 

And in the email the 'modified' time that uses the convert time zone is always one hour ahead, how can I make it match GMT?

email example.png

Thanks in advance 🙂 

 

I have the same question (0)
  • CFernandes Profile Picture
    8,396 Most Valuable Professional on at
    Re: Time zone conversion issue

    @PremierD  In you screenshot, HTML Table action, I see

     

    CFernandes_0-1599833957274.png

     

    Instead of the Expression, can you give the action below a try...

     

    CFernandes_1-1599834042996.png

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • PremierD Profile Picture
    54 on at
    Re: Time zone conversion issue

    Hi CFernandes,

    I am not entirely sure where in the flow to place it?  As I cannot place it in the HTML table area, should it be just before?

    time added.png

    Thanks

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Time zone conversion issue

    Hi @PremierD,

     

    I think the issue that the converted time zone is always one hour ahead is caused by daylight saving time, as a workaround, you just need to do is use addHours() function to adjust, place it in the HTML table area:

    addHours(convertTimeZone(item()?['Modified'],'UTC','W. Europe Standard Time','f'),1,'f')

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • PremierD Profile Picture
    54 on at
    Re: Time zone conversion issue

    Hey Lin_Tu

     

    That really helped, I had to change the hours to '-1' , and then it was spot on, thanks very much.

  • Clifferton Profile Picture
    94 on at
    Re: Time zone conversion issue

    did the flow remain correct after daylight savings time changed again?

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard