web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I pass a valid ...
Power Apps
Answered

How do I pass a valid date to my flow form a Canvas App

(0) ShareShare
ReportReport
Posted on by 894

My flow is failing because the date is passed as

"3/16/2020" - which is incorrect. it should be 16/3/2020 - You guys have your month and day the wrong way round.
 
How do I ensure my app passes a valid date to the flow?
Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @stapes ,

     

    Is it a date picker you're using to generate the date? If so, then change the Format property of the date picker to:

     

    "dd/mm/yyyy"
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @stapes 

    You can control the format of a date being passed to Flow using the TEXT function.

    YourFlowName.Run(Text(your_date_here,"dd/mm/yyyy"))

     

    There's also a quite useful post on how to do it inside Flow here.

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Sending-dates-from-PowerApps-gt-Flow-gt-Sharepoint-Library/m-p/373875/highlight/true#M107975

     

    I'm not sure who you are referring to as "you guys"...

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

  • stapes Profile Picture
    894 on at
     
    @Anonymous
     
     
     That doesn't work. I already had it set to that.
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    The order of the month and day in a date is dependent on the regional settings in the app.  Since you are passing it from Power Apps to Power Automate I would recommend passing it as a text variable and then converting it inside Flow.  You can then control the formatting of the date passed as text using the following formula in Power Apps

    Text(Today(),"[$-en-US]dd/mm/yyyy")

    Then in Flow you can convert it back when you want to use it.  You can't store a date as a variable in Power Automated anyway, so you need to convert it if you want to store it. 

  • ColinM Profile Picture
    26 on at

    What is the best way to pass date information from PowerApps to Flow with the PowerAppV2 trigger? Trying to add an input date to the trigger. 

     

    Having problems configuring the string/date to match what Powerapps wants to send and what Flow wants to receive. 

     

    Solved - case sensitive characters.  oops

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard