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

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

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 III
Super User III

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

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

Hi 

 

 

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Kudoed Authors
Users online (8,542)