日期:2014-05-17  浏览次数:20758 次

jQuery怎么实现获取当前的日期时间
哪个前辈指教下
  写个例子出来 谢谢

------解决方案--------------------
http://tech.ddvip.com/2009-10/1256730136136940_5.html

网上的例子少吗???
呵呵。不知道哪个合适你。
------解决方案--------------------
HTML code

<html>
<script type="text/javascript">
alert(new Date())
</script>
</html>

------解决方案--------------------
探讨
HTML code

<html>
<script type="text/javascript">
alert(new Date())
</script>
</html>

------解决方案--------------------
这东西用jquery吗?
date1 = new Date();
date1.getyear getmonth .............


------解决方案--------------------
探讨
引用:
HTML code

<html>
<script type="text/javascript">
alert(new Date())
</script>
</html>


这个不是jquery



另外,而且这个,也没必要用jquery吧。

------解决方案--------------------
jquery时间插件
new Date()