But my customised Form only has one screen and items are added on sharepoint list and viewed from sharepoint list.
When trying to view previous requests the datepicker is changing to today's date.
In your case then you'd reference the mode of the SharePoint form:
SharePointForm1.Mode = FormMode.New,
The mode property of that form will vary depending on whether it's being used to add a new item or to edit an existing one.
how can get timestamp in date picker?
Set DefaultDate of Date Picker to:
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand