I'm in javascript, running this in the console
d = new Date(); d.setMonth(1); d.setFullYear(2009); d.setDate(15); d.toString();
outputs this:
"Sun Mar 15 2009 18:05:46 GMT-0400 (EDT)"
Why would this be happening? It seems like a browser bug.
d = new Date(); d.setDate(15); d.setMonth(1); d.setFullYear(2009); d.toString();
This works.