例如14位日期:20170417101215
转换DateTime格式:
var time="20170417101215";
var dateTime = DateTime.ParseExact(time, "yyyyMMddHHmmss", System.Globalization.CultureInfo.CurrentCulture);
例如14位日期:20170417101215
转换DateTime格式:
var time="20170417101215";
var dateTime = DateTime.ParseExact(time, "yyyyMMddHHmmss", System.Globalization.CultureInfo.CurrentCulture);