For compatibility with older Internet Explorer version ( 8 or less), you should not use the ISO format: "YYYY-MM-DD" or "YYYY-MM-DDTHH:MM:SS" but the constructor with separate parts - new Date(year, month, day [, hour, minute, second, millisecond]);


var mydate = new Date('2013', '04' - 1, '13', '10', '23', '00');

Keyword Reference
Date