摘要: 为了达到不同的显示效果有时,我们需要对时间进行转化,默认格式为:2007-01-03 14:33:34 ,要转化为其他格式,要用到DateTime.ToString的方法(String, IFormatProvider),如下所示: using System;using System.Globalization;String format="D";DateTime date=DataTime,N... 阅读全文
posted @ 2012-03-27 16:06 易独 阅读(380) 评论(0) 推荐(0)
乐巴儿 一个有声音的公众号
长按,识别二维码,加关注