string t3 = "01:30 AM";
txtStartDate.text = "12-Mar-2013";
DateTime dat1 = DateTime.Parse(txtStartDate.Text);
DateTime dat2 = (DateTime.ParseExact(t3, "H:mm tt", CultureInfo.InvariantCulture));
//this gives 5/30/2013 1:30:00 AM
// 5/30/2013 is current date
我想用 dat1 值替换当前日期,也就是说,我希望 dat2 具有 12/mar/2013 1:30:00:AM
任何人都可以帮我这样做吗?提前致谢