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 Automate
Unanswered

Datetime format

(0) ShareShare
ReportReport
Posted on by 58

Hi all,

 

I have this expression in Power Automate:

 

formatDateTime(triggerbody()['Columname'],'dd-MM-yyyy HH:mm')

 

The output would be "14-04-2021 15:00" and that works fine.

For some reason however the flow adds + hours to the time and I simply cannot figure out why.

 

Any ideas?

 

Categories:
I have the same question (0)
  • meelamri Profile Picture
    468 on at

    Hi, 

     

    This is certainly related to the time zone shift. What is your data source?

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hello @MichaelBL 

     

    Power Automate uses UTC for time. You can use the convert time zone action to change to desired time zone.

     

    https://support.microsoft.com/en-us/topic/converting-time-zone-in-microsoft-power-automate-8bce2441-1859-4d76-2f51-985d9c96534d#:~:text=Using%20the%20action,%22Convert%20time%20zone%22%20operation.&text=Base%20time%3A%20The%20datetime%20you,the%20datetime%20is%20currently%20in

     

    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!

     

     

     

  • MichaelBL Profile Picture
    58 on at

    Date source is SharePoint Online.

     

    I was thinking if it might be possible to just hardcode the flow to always add +2 hours ?

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @MichaelBL 

     

    Sound like a plan - addHours() function lets you addHours.

     

    BTW does the incorrect time match the UTC time?

     

    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!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard