string dateString = "2017/4/18 11:56:55";
String dt1 = Convert.ToDateTime(dateString).ToString("yyyyMMdd HH:mm:ss", System.Globalization.DateTimeFormatInfo.InvariantInfo);
String dt1 = Convert.ToDateTime(dateString).ToString("yyyyMMdd HH:mm:ss", System.Globalization.DateTimeFormatInfo.InvariantInfo);