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

Community site session details

Session Id : SAfeprpquF7xpyzBxhanU0
Power Apps - Building Power Apps
Answered

Using the Date value from datepicker in text field

Like (0) ShareShare
ReportReport
Posted on 12 Oct 2023 12:08:32 by 19

Hi community, 

 

I need something fairly simple but so far I'm not able to find solution. Maybe I'm doing something wrong, so please advice. 

 

I have an app with a date and time picker. I want to create a TextField which show the month number for example is you pick October the text filed to show "10" 

 

I can not find the Data Picker source for DateValue. Can you help me please. 

 

Thanks in avdance.

Categories:
  • Verified answer
    Ageorgievtbs Profile Picture
    19 on 13 Oct 2023 at 06:21:27
    Re: Using the Date value from datepicker in text field

    Hi Again, 

     

    thanks for the support. I manage to overcome the issue by placing the Text Field inside the Form. Not is is working. Still can not imagine why it is not working when placed outside the form, but at least my app work perfectly. 

     

    Thanks again for the time spend with me!  

  • Ageorgievtbs Profile Picture
    19 on 13 Oct 2023 at 06:03:54
    Re: Using the Date value from datepicker in text field

    Good morning, 

     

    I put default date = Today() I also pich date from the date picker - 20.10.2023 no effect. 

     

    Still it show blank. 

  • SpongYe Profile Picture
    5,580 Super User 2025 Season 2 on 12 Oct 2023 at 13:57:26
    Re: Using the Date value from datepicker in text field

    Can you put the .DefaultDate to

    Today()

    SpongYe_0-1697119016107.png

     

  • SpongYe Profile Picture
    5,580 Super User 2025 Season 2 on 12 Oct 2023 at 13:52:12
    Re: Using the Date value from datepicker in text field

    I see you have not selected a date in the screenshot that why its blank.

    Could you also post another screenshot with a date seleted and see if it would say Blank also?

     

  • Ageorgievtbs Profile Picture
    19 on 12 Oct 2023 at 13:49:35
    Re: Using the Date value from datepicker in text field

    Yes, its highlighted in green 🙂 

  • SpongYe Profile Picture
    5,580 Super User 2025 Season 2 on 12 Oct 2023 at 13:34:48
    Re: Using the Date value from datepicker in text field

    Hi @Ageorgievtbs 

     

    Does the DatePick gets Highlighted? Like mine below if you select the Label and click in the Formula bar?

    SpongYe_0-1697117664067.png

     

  • Ageorgievtbs Profile Picture
    19 on 12 Oct 2023 at 13:24:23
    Re: Using the Date value from datepicker in text field

    I did select date from DatePicker few times but its again empty text field. 

  • SpongYe Profile Picture
    5,580 Super User 2025 Season 2 on 12 Oct 2023 at 13:12:07
    Re: Using the Date value from datepicker in text field

    Please select a date in the DatePicker and you should see results. That means the datepicker is empty or no date is selected. 

  • Ageorgievtbs Profile Picture
    19 on 12 Oct 2023 at 13:10:19
    Re: Using the Date value from datepicker in text field

    Its getting better, no error message, but again no usefull result. Not its blank

  • SpongYe Profile Picture
    5,580 Super User 2025 Season 2 on 12 Oct 2023 at 13:04:23
    Re: Using the Date value from datepicker in text field

    Hi @Ageorgievtbs 

     

    Please change from DataCard to DataValue.

    Your screenshot shows that DataValue1 is the input field:

    Text(DataValue1.SelectedDate, "mm")

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete