on 10-11-2018 3:45 PM
Hello,
I am passing date from sap.m.DatePicker to oData service filter. I have used JSON model bound to date picker to access the date chosen by the user.
My issue is: When I choose 1st Oct 2018 as the date, I see the date as 30th Sep 2018 (20180930 as per SAP backend format) in debug session!! It is always going 1 date behind in Gateway oData service.
What has gone wrong here!!
I tried various approaches like date.setHours(0,0,0,0), date.setUTCHours(0,0,0,0) etc from front end. But my issue was never resolved. I guess it is somethung w.r.to timezone. Can someone please guide me what is the issue here.
Regards, SAP Learner
Hi, have a look at this, it might help you:
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.