What is the best way to get a Javascript Date object from a string like the following one:
2011-06-02T09:34:29+02:00 ?
I have trouble with the
var myDate = new Date('2011-06-02T09:34:29+02:00'); alert(myDate);