cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
UB400
Level 10

PowerApps to Flow Date Format problem

 

I'm using a combination of PowerApps, SharepointOnline and Flow to send out e-mail alerts.

 

So I have the dates in a Sharepoint list and want to use them in Flow to send out my e-mail

 

I'm using the "Compose" action to format the date i.e. "@formatDateTime(,'dd-MM-yyyy')" complete with the double quotes on the outside (I also tried "@formatdatetime( ,'yyyy-MM-ddThh:mm:ss')" ), but this is generating an error message. See screen shot below. Any guidance would be greatly appreciated.

 

DateFormatError.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
UB400
Level 10

Re: PowerApps to Flow Date Format problem

 

After much searching and testing, I finally managed to format a date (in Date only format) retrieved from a Sharepoint List, to 'dd-MM-yyyy'

formatdatetime(items('Apply_to_each')?['IsDueDate'] ,'dd-MM-yyyy')

Thanks to several posts I found here in the Community

This post https://powerusers.microsoft.com/t5/Connecting-To-Data/formatDateTime/td-p/24013 by @v-micsh-msft was particularly useful.

 

View solution in original post

1 REPLY 1
UB400
Level 10

Re: PowerApps to Flow Date Format problem

 

After much searching and testing, I finally managed to format a date (in Date only format) retrieved from a Sharepoint List, to 'dd-MM-yyyy'

formatdatetime(items('Apply_to_each')?['IsDueDate'] ,'dd-MM-yyyy')

Thanks to several posts I found here in the Community

This post https://powerusers.microsoft.com/t5/Connecting-To-Data/formatDateTime/td-p/24013 by @v-micsh-msft was particularly useful.

 

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

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

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,068)