06 2021 档案

摘要:function AddDays(date, days) { var nd = new Date(date); nd = nd.valueOf(); nd = nd + days * 24 * 60 * 60 * 1000; nd = new Date(nd); var y = nd.getFull 阅读全文
posted @ 2021-06-12 18:11 努力~努力再努力~ 阅读(77) 评论(0) 推荐(0)
摘要:/** * 判断年份是否为润年 * * @param {Number} year */ function isLeapYear(year) { return (year % 400 == 0) || (year % 4 == 0 && year % 100 != 0); } /** * 获取某一年份 阅读全文
posted @ 2021-06-10 21:18 努力~努力再努力~ 阅读(78) 评论(0) 推荐(0)