cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict available dates in Datepicker controls

Add MaxDate and MinDate properties to avoid selecting dates out of range. Examples:


Avoid selecting dates in the past:

Datepicker1.MinDate: Today()

 

Set maximum selectable date to 1 year in the future since today:

Datepicker1.MaxDate: DateAdd( Today(), 1, Years )

 

Attached image shows what it would look like MinDate property 🙂

Status: Under Review

Updating status and adding @FilipK

Comments
chmoncayMSFT
Power Apps

Hi there,

 

The MinDate / MaxDate functionality is in the new Fluent UI Date Picker control currently available in Dataverse for Teams and Custom Pages.  We're looking to bring these new modern controls to all Power Apps makers soon.

 

chmoncayMSFT_2-1636052762894.png

 

chmoncayMSFT_1-1636052743353.png

 

Digital
Super User

@chmoncayMSFT , That's great news! No more hour and minute drop downs!

Givanildo
Advocate II

When the Datepicker will be DatepickerTime

PhilGlew
Helper III

Any news when this will be available for full Dataverse?

zzzzzzzzzz
New Member

Any word on when/if this feature will make it to Power Automate?  

alyshalynn
New Member

For me, I'd like to be able to restrict dates to only the last day of any month (ideally in the future, but that's not a necessary restriction)