Hello,
I have a JSON Date for example: "\/Date(1258529233000)\/"
I got below code to convert this JSON date to UTC Date in String Format.
var s = "\\/Date(1258529233000)\\/";
s = s.slice(7, 20);
var n = parseInt(s);
var d = new Date(n);
alert(d.toString());
Now I need to get current UTC Date with Time and convert it into JSON date format.
Then do a date difference between these two dates and get number of minutes difference.
Can someone help me with this?