获取指定年和月中的天数

DaysInMonth(int year, int month)     

DaysInMonth(2018,7)  //结果  31 

posted @ 2018-07-23 15:19  小魔女srn  阅读(268)  评论(0编辑  收藏  举报