I am working on a project in which I have to split all date in array. so I get the time in hours and minutes variable. Time is like '2015-11-07E05:02:50.631Z'
.
var res = ev_time.split("E");
var t=res[1].split(":");
var time1 =t[0] + ":" + t[1];
alert(time1);
var time2=time1.setMinutes(time1.getMinutes() + 30);
alert(time2);
when I Ignore last 2 line get correct result but when I using them I don't get the result. I want to add 30 minutes in time so I need to do that. How it will be possible?