cancel
Showing results for 
Search instead for 
Did you mean: 

Sapui5 one before day problem

former_member489109
Participant
0 Kudos
2,498

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.

View Entire Topic
Joseph_BERTHE
Active Contributor
0 Kudos

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