cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

How to set date picker to today as default?

In sharepoint site i have "today's date as default" checkmarked. but i think powerapps overrides it and makes the default date 12/31/2001

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Unlock the data card with the datepicker in it and change the DefaultDate property from Parent.default to Today().



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
Highlighted
Dual Super User III
Dual Super User III

Unlock the data card with the datepicker in it and change the DefaultDate property from Parent.default to Today().



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted

you are brilliant thanks.

Highlighted
Advocate I
Advocate I

I think the correct formula should be:

 

If(SharePointForm1.Mode=FormMode.New;Today();Parent.Default)

 

Otherwise a selected date will be overwritten with Today every time you edit  your data...

Highlighted

Just to put my two cent in:  swap the ";" for ","s

If(SharePointForm1.Mode=FormMode.New,Today(),Parent.Default)

 

Highlighted

 swap the ";" for ","s

That's correct for the US - but in Europe/Germany it's an ";". For me this is the most annoying thing with the Power platform. Who the hell had the idea to distinguish the delimeter of a formula language by country settings?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,004)