Method allow get totals days in month.
Useage:
<pre>
var date = new Date(2013, 2, 14);
alert(date.getDaysInMonth());
</pre>