谷歌js取当前前年份

 today = new Date();

today.getFullYear()//谷歌  ie

today.getYear()  //ie

posted @ 2015-08-19 14:28  成小伟  阅读(141)  评论(0编辑  收藏  举报