摘要: DateTimedt=DateTime.Now;//当前时间DateTimestartWeek=dt.AddDays(1-Convert.ToInt32(dt.DayOfWeek.ToString("d")));//本周周一DateTimeendWeek=startWeek.AddDays(6);//本周周日DateTimestartMonth=dt.AddDays(1-dt.Day);//本月月... 阅读全文
posted @ 2010-07-22 15:53 老皆知 阅读(1015) 评论(0) 推荐(1) 编辑