cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UB400
Kudo Kingpin
Kudo Kingpin

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

 

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

 

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,378)