我们如何获得时间的约会 [英] how can we get date with time

查看:78
本文介绍了我们如何获得时间的约会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在Web应用程序中获取带时间的日期

how can we get date with time in our web appilication

推荐答案

DateTime.Now;


或阅读此

日期时间 [


or read this

Date Time[^]




如果要获取当前日期和时间,可以使用以下代码

DateTime.Now.ToString();
Hi,

If you want to get the current date and time, you can use below code

DateTime.Now.ToString();


这篇关于我们如何获得时间的约会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆