110,539
社区成员
发帖
与我相关
我的任务
分享
string str = "17/09/2012 10:50";
DateTime dt = DateTime.ParseExact(str, "dd/MM/yyyy HH:mm", new System.Globalization.CultureInfo("en-US", true));
MessageBox.Show(dt.ToString("yyyy/MM/dd hh:mm"));
Convert.ToDateTime("17/09/2012 10:50").ToShortDateString("yyyy/mm/dd hh:mm")