I have a ISO
"2015-10-05T08:30:00" getting through REST request. Now I need to convert it into my local
DateTime. The way I am trying
var isoDateTime = new Date("2015-10-05T08:30:00"); var localDateTime = isoDateTime.toLocaleDateString() + " " + isoDateTime.toLocaleTimeString();
10/5/2015 2:30:00 PM.
Date is okay but the time is not. When I open this item in edit/display form, I got different date and it is actual date.