This caused me a bit of a headache last night and I wanted to understand why the getDate method in the Date object is 1 based (returns values from 1-31) while the getMonth m
So I dropped Brendan Eich a tweet asking him the question (for those who don't know he is the creator of JS) and his response was:
@magrangs because that is how java.util.Date did it.
https://twitter.com/BrendanEich/status/179610205317902337