DateTime a1 = new DateTime(Convert.ToDateTime(txtStartDate.Text).Year, Convert.ToDateTime(txtStartDate.Text).Month, Convert.ToDateTime(txtStartDate.Text).Day, 0, 0, 0);
Run Code Online (Sandbox Code Playgroud)
我试图将系统时间从12小时hh更改为24小时HH并重新启动网站插入仍然是12:00:00
我想要00:00:00