string format = "yyyy-MM-dd"; DateTime time= new DateTime(); time.ToString(format)
label1.text = DateTime.Now.ToShortDateString();
Comment