取得当月最后一天的日期 DateTime dt = new DateTime(2006,11,DateTime.DaysInMonth(2006,11)); DateTime dt = new DateTime(2006,11,DateTime.DaysInMonth(2006,11));