i'm trying to get the number of weeks i a month in javascript.
I read a thread on the same subject -> Get Weeks In Month Through Javascript but when using the advised js lib, called "time.js", i havent good results for 2010.
Example:
When i use weeksInMonth() for september 2010 like :
weeksNbr = new Time(2010, 9).weeksInMonth();
The result is 6 but september 2010 has only 5 weeks ....
Someone have another way to do that or could explain me whats the bug ?