获取系统日期和时间 [英] get system date and time
本文介绍了获取系统日期和时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请提供有关从系统获取日期和时间以在Windows窗体应用程序中的框中显示的帮助
please help about get date and time from system to show in box in the windows form application
推荐答案
非常简单:
Pretty simple :
txtBox1.Text = DateTime.Now.ToString();
这篇关于获取系统日期和时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文