版权动态日记页脚 JS 关键代码如下 <script>document.write(new Date().getFullYear())</script> js方法 new Date() //实例化Date对象 getFullYear()//获取年份