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
Answered

Time Format

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Why would my time be off by 12 hours using this in SharePoint Online?

 

formatDateTime(triggerBody()?['Start'],'HH:mm')
Categories:
I have the same question (0)
  • sergeluca Profile Picture
    500 on at

    Date & Time coming from SharePoint Online to Flow are always in UTC; where is your SharePoint online (UTC zone) ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Central time

  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ msmith,

     

    Could you please share a screenshot of the configuration of your flow?

     

    Could you explain more about your issues?

    Do you mean the time in the SharePoint Online would 12 hours earlier than your local time?

     

    All times in Microsoft Flow are in Universal Time (UTC) by default.You could refer to link below to learn more about the UTC time in Microsoft flow:

    https://flow.microsoft.com/en-us/blog/working-with-dates-and-times/

     

    Regards,
    Alice Zhang

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I don't know why I said 12 hours off, it is more like 5 hours off. I don't seem to have an option to add any pictures. I just checked on 4 different browsers.

     

    I used the compose action with the the following expression.

    formatDateTime(triggerBody()?['Start'],'HH:mm')

     

     

     

  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

     

     

    Hi @ msmith,

     

    The time in Microsoft Flow are in Universal Time (UTC) by default, so the time in your SharePoint Online would display the UTC time by default and the time in the SharePoint Online would 5 hours earlier than your local time.

     

    You could refer to link below to learn more about the UTC time in Microsoft flow:

    https://flow.microsoft.com/en-us/blog/working-with-dates-and-times/

     

     

    Regards,
    Alice Zhang

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard