Showing results for 
Search instead for 
Did you mean: 
Not applicable

Any way to retain Date field when in editing mode?


This community has been very helpful and I'd like to thank you all! There's just one issue I can't seem to find a solution for online.

When an app is generated from a SP list, it's pretty basic with 3 screens. If I click the "Edit" button in the top right, the Date field will not retain and will default to the current date, which I've configured for the data entry screen. So my question is, can the date be retained on a specific record when users select the Edit button?




Thanks in advance!

Not applicable


Sounds like you've set the DefaultDate of the Date field in your Form to Today()? Is this correct?


If so, change it to this

If(EditForm1.Mode = FormMode.Edit,Parent.Default, Today())

Just change 'EditForm1' to match your Form name


Super User
Super User

Hi @Anonymous ,

The control should retain the date in both View and Edit modes as long as the Default of the control is set to ThisItem.FieldName where FieldName is the actual field in the data source of the form. Check that the Default is not set to Today() or Now() as this seems to be the case form what you are describing.


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.


Not applicable

Hi @Anonymous 


This worked!!

Thank you! In the defaultdate field, I had "Text( Now(), DateTimeFormat.LongDate )"

Not applicable

Happy to help. 


Just on formatting Date Pickers, there is a 'Format' property where you can adjust this. Makes things very easy 🙂 

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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