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

How can I set a 24H format time?

(0) ShareShare
ReportReport
Posted on by

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard