摘要: come from:http://www.cnblogs.com/emanlee/archive/2008/01/20/1046022.html日期转化一为了达到不同的显示效果有时,我们需要对时间进行转化,默认格式为:2007-01-0314:33:34,要转化为其他格式,要用到DateTime.ToString的方法(String,IFormatProvider),如下所示:usingSystem;usingSystem.Globalization;Stringformat="D";DateTimedate=DataTime,Now;Response.Write(date 阅读全文
posted @ 2011-10-18 16:22 乄蛇 阅读(136) 评论(0) 推荐(0)