I have Javascript date, which I'm trying to convert to daypilot date but the Hour values are coming not correctly, can you please tell me how can we get correct date conversion value.
var currentDateTime=new Date;
>Tue Aug 22 2017 10:30:10 GMT+0530 (India Standard Time)
new DayPilot.Date(currentDateTime);
>DayPilot.Date {value: "2017-08-22T05:00:10.000"}
but I want it as "2017-08-22T10:30:10.000" rather than "2017-08-22T05:00:10.000" with GMT+0530 added.
Thank you.