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