标签:key date space parse system convert etc ring tostring
DateTime ConvertDate = Convert.ToDateTime(DateTime.ParseExact(item.Key, "yyyyMMdd", null, System.Globalization.DateTimeStyles.AllowWhiteSpaces).ToString("yyyy-MM-dd"));
DateTime.ParseExact("18/05/2014", "dd/MM/yyyy", System.Globalization.CultureInfo.GetCultureInfo("en-US")).ToString("yyyy-MM-dd") ;
c# yyyyMMdd,dd/MM/yyyy 类型字符串转换为datetime 类型
标签:key date space parse system convert etc ring tostring
原文地址:http://www.cnblogs.com/yangwujun/p/7249513.html