I've got this following string from JSON API:
"Date": "\/Date(1381446000000+0100)\/",
which should be:
2013-10-11 00:00:00
but instead I get this:
2013-10-10T23:00:00.000Z
My code:
new Date(parseFloat(oldDate.replace("/Date(", "").replace(")/", "")));