lb_data.Text = System.DateTime.Now.ToLongDataString() + " " + System.DateTime.Now.ToLongTimeString();
ps:lb_data(文本框变量名)
System.DateTime.ToString("hh-mm-ss");
lb_data.Text = System.DateTime.Now.ToLongDataString() + " " + System.DateTime.Now.ToLongTimeString();
ps:lb_data(文本框变量名)
System.DateTime.ToString("hh-mm-ss");