摘要:
一、取某月的最后一天法一、使用算出该月多少天,年+月+加上多少天即得,举例取今天这个月的最后一天private void GetLastDateForMonth(DateTime DtStart,out DateTime DtEnd){int Dtyear,DtMonth;DtStart = DateTime.Now;Dtyear = DtStart.Year;DtMonth = DtStart.Month;int MonthCount = DateTime.DaysInMonth(Dtyear,DtMonth);DtEnd = Convert.ToDateTime(Dtyear.ToStri 阅读全文
posted @ 2009-02-08 23:24
TechNick
阅读(391)
评论(0)
推荐(0)


浙公网安备 33010602011771号