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 / Add dates from text in...
Power Apps
Unanswered

Add dates from text input field to Date picker field

(0) ShareShare
ReportReport
Posted on by 101

Ready Date - Date Picker

Add Days - text input field

Due Date - Date Picker 2

 

If the added day text input field is blank, I would like to display the ready date in the due date.  But if the Add Days text input has a number listed (is not blank), I would like to add the days listed to today's date.

 

Can anyone help me with this? 

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @MicroMarc365 ,

    Try this in the DefaultDate of 'Due Date'

    DateAdd(
     'Ready Date'.SelectedDate,
     If(
     Len('Add Days'.Text) = 0,
     0,
     Value('Add Days.Text)
     ),
     TimeUnit.Days
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • MicroMarc365 Profile Picture
    101 on at

    When I add 5 days to the Add Days text input, it's adding 5 days to the Ready Date not today's date. 

    When the Add days is not empty, I would like to add 5 days to today's date. 

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @MicroMarc365 ,

    Just replace with Today()

    DateAdd(
     Today(),
     If(
     Len('Add Days'.Text) = 0,
     0,
     Value('Add Days.Text)
     ),
     TimeUnit.Days
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard