on 2018 Jan 22 10:51 PM
Hi,
I am using UI5 version 1.44. There is one date field (Date picker) in the application. Database value for this field is for ex: 21Dec2017. The value of this field at Gateway system is the same as database value while oData service testing. When I use UI5 application, it is showing as 20Dec2017. It is always showing one day less to database value. I tested with different dates. it is responding in the same manner. Did I miss anything? please help me to fix this issue.
Thank you,
Balaji P.
Request clarification before answering.
Dear Balaji,
I also faced the same issue, I solved it by appending custom timer in my controller,
var date = new sap.ui.model.type.Date();
date = this.getView().byId("dt_dtField").getValue();
date = new Date(date + " 11:13:00");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 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.