.net字符串转成日期

string s = "20100114161145"; Response.Write(DateTime.ParseExact(s, "yyyyMMddHHmmss", new System.Globalization.CultureInfo("zh-CN", true)).ToString()); return;

你可能感兴趣的:(.net,String,2010)