Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Using a Datepicker Date Value as Flow Input

(0) ShareShare
ReportReport
Posted on by 12

Hey,

 

i recently build and app that, n order to start requires the User to make 2 date entries before it can start. Thos ehave to be in the YYYY-MM-DD format as the flow requires that exact format to do its thing. When I use a textfield asking the User to put in times manually in the requested format and connect the button with the text-textinput1/2 value, everything works perfectly fine.

However when i try to make it more comfortable and offer datepicker instead of textinput fields it gets messy. Although i changes the format(display format) of the date picker to yyyy-mm-dd i cant get it to forward that to the flow. Instead it will always send DD/MM/YYYY. Im not sure what i have to do so i can get the right input format to my flow.

  • schwibach Profile Picture
    Super User 2025 Season 1 on at
    Re: Using a Datepicker Date Value as Flow Input

    @CarlosFigueira 

    I had this problem, too.

    It was a bit frustrating that the value of the datepicker cannot directly be handed over to Power Automate.
    Maybe, it would be a good idea to include this in the documentation for the modern date picker control.

  • Kimii Profile Picture
    134 on at
    Re: Using a Datepicker Date Value as Flow Input

    @stefano77 
    you use that command in power apps, OnSelect of the button to run your flow

  • stefano77 Profile Picture
    12 on at
    Re: Using a Datepicker Date Value as Flow Input
     
    sorry but I'm not an expert. where is this command inserted? directly into the FLOW , where?
     
    Thanks
  • Michael90 Profile Picture
    12 on at
    Re: Using a Datepicker Date Value as Flow Input

     Thank you it worked perfectly

  • Verified answer
    CarlosFigueira Profile Picture
    on at
    Re: Using a Datepicker Date Value as Flow Input

    You can use the Text function to convert the selected date in the date picker to the format that the flow expects. Something along the lines of

    MyFlow.Run(Text(DatePicker1.SelectedDate, "yyyy-mm-dd"))

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1