cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sapui5 date one day missing

0 Likes
8,357

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?

View Entire Topic
former_member654880
Discoverer
0 Likes

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

0 Likes

Unfortunately it doesn't work 😞