cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Haufe 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
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
SCTdan 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')

 

 

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

Haufe Helper II
Helper II

Re: Formate Date/Time

Hi 

 

 

 

 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

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

Top Solution Authors
Top Kudoed Authors
Users online (4,993)