摘要: 时间格式化有时候我们要对时间进行转换,达到不同的显示效果默认格式为:2005-6-6 14:33:34如果要换成成200506,06-2005,2005-6-6或更多的该怎么办呢我们要用到:DateTime.ToString的方法(String, IFormatProvider)using System;using System.Globalization;String format="D";Da... 阅读全文
posted @ 2009-12-23 21:35 是旧卡 阅读(934) 评论(0) 推荐(0) 编辑