How to set current date as default date in date picker everytime page loads?
Solved! Go to Solution.
In your case then you'd reference the mode of the SharePoint form:
If( SharePointForm1.Mode = FormMode.New, Today(), Parent.Default)
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:
Now()
That should be
UpdateContext({currentDate: Today() - 1}); UpdateContext({currentDate: Today()});
not a comma after currentDate:
UpdateContext({currentDate: Today() - 1}); UpdateContext({currentDate, Today()});
User | Count |
---|---|
174 | |
111 | |
86 | |
44 | |
42 |
User | Count |
---|---|
229 | |
118 | |
116 | |
74 | |
67 |