Posts tagged date
Why does getDate() return the day of the month instead of the date itself, while getDay() returns the day of the week and not the day of the month?
Why does getMonth() return a value from 0-11, but getDate() returns a value from 1-31?
Do you know how utterly confusing that is???
* This post was originally published on March 22, 2007 at http://www.csb7.com/blogs/whyblogwhy/2007/03/22/dear_ecma_how_about_standardizing_your_d