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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (9,774)