//取得某月的最後一天 //方法一:使用算出該月多少天,年+月+加上多少天即得,舉例取今天這個月的最後一天 private void GetLastDateForMonth(DateTime DtStart, out DateTime DtEnd) { int Dtyear, DtMonth; DtStart = DateTime.Now; Dtyear = DtStart.Year ...
www.itkee.com