Posts Tagged ‘格式

将 yyyyMMdd 格式字符串转换成 yyyy-MM-dd 格式的日期

2008年09月25日 星期四

DateTime.ParseExact(输入的字符串,”yyyyMMdd”,System.Globalization.CultureInfo.CurrentCulture)