int a =20190319;

DateTime  b =  DateTime.ParseExact(a.tostring(),"yyyyMMdd",System.Globalization.CurrentCulture);

相关文章: