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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (11,070)