Skip to Content
Former Member
May 26, 2017 at 04:01 AM

Issue - Date save in database with decrements by one

105 Views Last edit May 26, 2017 at 04:03 AM 2 rev


Actually I am using sap.m.DatePicker control in my application. Issue is that when I send the date to the database it automatically decrements the date by one and save the decremented date in database. I am using xsjs for sending the date value in database

Below is the code for sending data to xsjs and xsjs furtur send the data to database

"effective_from": sap.ui.getCore().byId("effectiveFromInput").getDateValue()

Please suggest something. Thanks in Advance.

Thanks & Regards