Datetime d = new DateTime();
d = DateTime.Now;
TextBox1.Text = d.ToString("dd.MM.yyyy");
TextBox2.Text = d.ToString("HH:mm:ss");
Google would give you the same result, and It would be nice if you tried somethin gyourself, instead of posting this non question, were I have to do the work for you ;)