Converting .NET DateTime to JSON [duplicate]
What is returned is milliseconds since epoch. You could do: var d = new Date(); d.setTime(1245398693390); document.write(d); On how to format the date exactly as you want, see full Date reference at http://www.w3schools.com/jsref/jsref_obj_date.asp You could strip the non-digits by either parsing the integer (as suggested here): var date = new Date(parseInt(jsonDate.substr(6))); Or applying the following … Read more