cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

var sToday = new Date(); //today// example : 20.12.2017

this.getView().byId("mesaiTbdPicker").setDateValue(sToday); // set today to datepicker //20.12.2017

and I sending this data.But i looking data in abap date looking 1 before day. //19.12.2017

I tried this but not worked;

var sToday = new Date();

sToday = sToday + 1;

Please help.

0 Likes
View Entire Topic
Joseph_BERTHE1
Active Contributor
0 Likes

You have to play with the timezone such as CET to get the correct date.