I have string date value returned from database. Date is ="2015-06-26 13:23:04"
.
How to add 200 minutes
to this in javascript?
I am not able to convert it to Date. I want same format.
I want to dispaly the same format "2015-06-26 13:23:04".
I used below code to convert.
var datevar = "2015-06-26 13:23:04";
var today = new Date(datevar).toISOString().slice(0, 20);
and i cant get correct hh:mm:ss value.
getting : "2015-06-26TO7:53:04"
Please help me. Thank you.