Dear Ecma, how about standardizing your date functions, eh?
By Chris on Mar 22, 2007 | In Programming | 1 feedback »
Dear Ecma,
I would just like to point out how completely asinine your JavaScript Date object implementation is. How did so many of it's member functions come to operate in such a non-intuitive way in relation to each other?
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???
Frustrated,
Me
Trackback address for this post
1 comment
You've actually given me something to do this weekend...
Leave a comment
| « Clean and Close has a new home | When fate gives you a latte, you take the latte » |