获取指定年和月中的天数

DaysInMonth(int year, int month)     

DaysInMonth(2018,7)  //结果  31 

原文地址:https://www.cnblogs.com/shiruina/p/9354817.html