Announcements
Dear All,
I have a date picker which I want to use to add a date to two date fields / columns in SharePoint.
How can I do this?
Thanks
Daniel
Hi @DLCaterhamSch
Try this formula
Sharepoint column must be date and time data type.
On the OnSelect property of the button/control,
Patch('YourSharePointList',{ ID: YourRecordID, DateField1: DatePicker1.SelectedDate, DateField2: DatePicker1.SelectedDate })
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
Hi @DLCaterhamSch,
If you are wanting this date picker to populate fields in a form then you can try this.For a date field, set the DefaultDate property to:
DatePicker1.SelectedDate
or
For a text field, set the Default property to:
Text(DatePicker1.SelectedDate)
Please tick Accept as solution if the answer is useful.
Thanks,
@AARON_C
Thats spot on, thank you!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 421 Most Valuable Professional
11manish 153 Super User 2026 Season 2
MS.Ragavendar 116 Super User 2026 Season 2