請(qǐng)問哪里出錯(cuò)了?
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>日期對(duì)象 </title>
<script type="text/javascript">
?var mydate=new Date();
? document.write("當(dāng)前時(shí)間:"+mydate+"<br/>");
? mydate.setTime( myate.getTime()? + 2* 60 * 60 * 1000);
? document.write("推遲二小時(shí)時(shí)間:" +mydate);
</script>
</head>
<body>
</body>
</html>
2019-01-16
mydate拼錯(cuò)了兄弟
2019-01-16
謝謝了