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 Platform Community / Forums / Power Automate / How can I set a 24H fo...
Power Automate
Answered

How can I set a 24H format time?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone,

 

We created a flow which reads lists from Sharepoint. This lists contains some columns that are dates and times (in 24H and in LT).

 

So, we have to convert this dates and times to UTC time and insert this converted time in an email. The problem is that the time sent via email is in 12H format.

As using 12H format for UTC times can lead to confussion, how can we solve this problem, so that the time sent in the email is in 24H format?

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Please try to use the following code to format the Date and time to 24H format.

    formatDateTime(triggerBody()?['OData__x006a_c67'],'yyyy-MM-dd HH:mm:ss')

    Hope it could be a reference for you.

     

    Best regards,

    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much!!

     

    It was very useful for me

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