javascript remplacer la chaîne en position

var myString = "Mar 16, 2010 00:00 AM";

myString = myString.substring(0, 13) + 
           "1" + 
           myString.substring(14, myString.length);
           
// output: Mar 16, 2010 10:00 AM
Undefined