on ‎2021 Feb 27 1:22 AM
I want to show the date I got with DatePicker in a section in a table. But the date is missing 1 day.


I tried many methods:
https://answers.sap.com/questions/409976/sap-webide---ui5---date-field-is-not-showing-corre.html
https://answers.sap.com/questions/323063/date-value-is-getting-reduced-by-one-day-while-pas.html
But it didn't work. What is your suggestion?
Request clarification before answering.
Hi,
You can also refer below code:
<DatePicker id="myDatePicker" placeholder="Enter Date" value="{ path:'/dateValue', type:'sap.ui.model.type.Date', formatOptions: { strictParsing: true, UTC: true } }" />
Riya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.