摘要: C#里内置的DateTime基本上都可以实现这些功能,巧用DateTime会使你处理这些事来变轻松多了今天DateTime.Now.Date.ToShortDateString();昨天,就是今天的日期减一DateTime.Now.AddDays(-1).ToShortDateString();明天,同理,加一DateTime.Now.AddDays(1).ToShortDateString();... 阅读全文
posted @ 2009-11-25 19:24 mysun 阅读(34423) 评论(0) 推荐(4) 编辑