The date you return is serialized with a marker and a few milliseconds since midnight January 1, 1970 (in UTC). If you isolate the numeric part, convert it to a number and feed it to the Date
constructor, you will get the actual date for the work, which you can format as you wish.
var ticks, dt;
Alternatively, if the JSON serializer on the server supports the "replacer" parameter, as Crockford and ECMAScript 5th edition do, you can provide a replacement by formatting the date on the string server side and processing it there because you said you did not want to parse the date on the client side (although the jQuery tag suggested to me, maybe so).
Tj crowder
source share