Javascript’s stupid Date constructor

new Date(2009, 1, 1) represents the first of February 2009. Not the second of February nor the first of January. Why this stupidity?

2 thoughts on “Javascript’s stupid Date constructor”

Leave a Reply

Your email address will not be published.