我的网站www.iyang.com后台打印客户订单每次打印出来的时间对象不对?哪位大神看看哪里出错了!<script>var hali= new Date();var monthnow=hali.getMonth();var datenow=hali.setDate(21);var yearnow=hali.setFullYear(2017);document.write("it's "+datenow+" in the month of "+monthnow+" in the year of "+yearnow+"<br/>");</script>
添加回答
举报
0/150
提交
取消