获取某年的某月有多少天


var dayOfMonth = DateTime.DaysInMonth(Convert.ToInt32(year), Convert.ToInt32(month));

posted @ 2015-08-10 17:24  kobe工作室  阅读(168)  评论(0编辑  收藏  举报