cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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

you are brilliant thanks.

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...

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

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

 

 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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (48,468)