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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,510)