1 DateTime tm; 2 tm = DateTime.Now; 3 4 5 this.txtResults.Text = tm.ToString("hh:mm:ss.fff tt");
Format time to milliseconds