C#string转换为Datetime

DateTime.ParseExact("0710090000", "MMddHHmmss", CultureInfo.CurrentCulture, DateTimeStyles.None);

猜你喜欢

转载自www.cnblogs.com/rengke2002/p/9287149.html