摘要: 本文两大部分:现在是第几季度?hl3292 推到季度末/3DateTime.Now.AddMonths(0-(DateTime.Now.Month - 1) % 3+3)/3第一部分:DateTime today = dt.Date;//今天 00:00:00DateTime tomorrow = dt.Date.AddDays(1);//明天 00:00:00DateTime startWeek = dt.AddDays(1 - Convert.ToInt32(dt.DayOfWeek.ToString("d"))).Date;//周一00:00:00DateTime s 阅读全文
posted @ 2010-11-25 21:23 hl3292 阅读(2003) 评论(0) 推荐(0) 编辑