【求助】关于时间计算
(new Date()).getTime();得到的是一串数字。请问怎么把这串数字计算出时间啊?
<script language=Javascript> var now=new Date(); var date = now.getYear()+"-"+(now.getMonth()+1)+"-"+now.getDate()+" "+now.getHours()+":"+now.getMinutes()+":"+now.getSeconds(); document.write(date); </script>