<SCRIPT LANGUAGE="JavaScript"> <!-- var now= new Date(); var year=now.getYear(); var month=now.getMonth()+1; var day=now.getDate(); var hour=now.getHours(); var minute=now.getMinutes(); var second=now.getSeconds(); alert(year+"-"+month+"-"+day+" "+hour+":"+":"+minute+":"+second); --> </SCRIPT>
javascript里如何获取当前时间
最新推荐文章于 2024-07-18 11:50:26 发布