摘要: 是不是有时候用DateTime.Parse()格式化时间会出错?两种办法:A:CultureInfo culture = new CultureInfo("en-GB");DateTime.Parse("30/06/2011", culture);B:DateTime.ParseExact("20110630","yyyyMMdd", System.Globalization.CultureInfo.CurrentCulture); 阅读全文
posted @ 2011-06-22 16:45 反省出梦想 阅读(334) 评论(0) 推荐(0) 编辑