long t;
t = DateTime.Now.Ticks;
textBox1.Text = t.ToString();
textBox2.Text = DateTime.FromFileTimeUtc(t).ToString();
long t;
t = DateTime.Now.Ticks;
textBox1.Text = t.ToString();
textBox2.Text = DateTime.FromFileTimeUtc(t).ToString();
转载于:https://www.cnblogs.com/zyh-C/p/10084433.html