getFullYear()和getYear()的区别
<!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();
var myyear=mydate.getFullYear();
document.write("年份:"+myyear+"<br />");
document.write("年份:"+mydate.getYear()+"<br />");
document.write("月:"+mydate.getMonth()+"<br />");
</script>
</head>
<body>
</body>
</html>
//为什么getYear()是返回了116?正常不应该是返回16么?