I receive from a Webservice a String with a date in this format:
yyyy-MM-ddTHH:mm:ss.fffZ
I need to convert that String with JavaScript to
Here's a one liner from John Resig:
var date = new Date((time || "").replace(/-/g,"/").replace(/[TZ]/g," ")),