I get from my client a date in this format:
2012-11-07T00:00:00 (yyyy-mm-ddT00:00:00)
How can I parse it into a Date object?
My first option is:
I know that such a question is obvious and over-answered, not only in Stack Overflow, but I want to:
var d = new Date('2012-11-07T00:00:00')