<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>日期对象 </title>
<script type="text/javascript">
var mydate=new Date();
document.write("当前时间:"+mydate+"<br/>");
mydate.setTime( myate.getTime() + 2* 60 * 60 * 1000);
document.write("推迟二小时时间:" +mydate);
</script>
</head>
<body>
</body>
</html>
mydate拼错了兄弟
谢谢了