cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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
Highlighted
Community Support
Community Support

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

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

 

 

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

Highlighted
Community Support
Community Support

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

Highlighted
Helper II
Helper II

Re: Formate Date/Time

Hi 

 

 

 

 

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (8,652)