cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AOrtiz
Level: Powered On

How can I set a 24H format time?

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How can I set a 24H format time?

Hi @AOrtiz,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: How can I set a 24H format time?

Hi @AOrtiz,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

AOrtiz
Level: Powered On

Re: How can I set a 24H format time?

Thank you so much!!

 

It was very useful for me

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,533)