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

HaraldOsmann
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,916)