I am working with dates in an RSS feed, but am finding differing results when using the code below in IE, Chrome and Firefox:
new Date(\'2001-01-01T12:00:00Z
This works on all of the major 5 browsers and causes all browsers to recognize the time as GMT/UTC rather than local time (the Z suffix means the time is UTC):
new Date('2001-01-01T12:00:00Z'.replace(/\-/g,'\/').replace(/T/,' ').replace(/Z/,' -0'))
I thank mplungjan for his answer.