检索服务器时间 [英] Retrive Server Time
本文介绍了检索服务器时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用asp.net获取Web应用程序中的服务器时间.
请提供代码项目.
How can i get server time in web application with asp.net.
Please provide the code project.
推荐答案
您尝试过DateTime.Now
吗?如果您在后面的代码中编写此代码,它将选择Webserver的时间!
Did you try DateTime.Now
? If you write this in your code behind, it will pick Webserver timing!
这篇关于检索服务器时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文