Posted By

Ashung on 12/08/10


Tagged


Versions (?)

Javascript day in a month


 / Published in: JavaScript
 

  1. function daysInMonth(_year, _month) {
  2. return new Date(_year, _month, 0).getDate();
  3. }

Report this snippet  

You need to login to post a comment.