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

Formate Date/Time

Hello,

Please, I need to convert the date / time to the following format in flow:

25/10/2019 14:50 

 

I tried formatDateTime (item () [''], 'dd / MM / yyyy hh: mm: ss') but it didn't work.

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Formate Date/Time

Hi @Haufe,

I have tested on my side, and it works well. Please make sure the original date is correct.

If possible, you can use a Compose to output the original date for a check.

Annotation 2019-09-11 141753.png

 

Annotation 2019-09-11 141736.png

Best Regards,
Community Support Team _ Lin Tu
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

4 REPLIES 4
SCTdan
Level 8

Re: Formate Date/Time

If your actual expression has those spaces, that could do it. This is working for me-

 

formatDateTime(body('Current_time'),'dd/MM/yyyy HH:mm:ss')

 

 

Super User
Super User

Re: Formate Date/Time

There is the Convert time zone action which is what I normally use and which works well.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Community Support Team
Community Support Team

Re: Formate Date/Time

Hi @Haufe,

I have tested on my side, and it works well. Please make sure the original date is correct.

If possible, you can use a Compose to output the original date for a check.

Annotation 2019-09-11 141753.png

 

Annotation 2019-09-11 141736.png

Best Regards,
Community Support Team _ Lin Tu
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

Haufe
Level: Powered On

Re: Formate Date/Time

Hi 

 

 

 

 

Helpful resources

Announcements
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
Users Online
Currently online: 351 members 5,946 guests
Please welcome our newest community members: