自然周算法-javascript实现
获取自然周 js获取自然周 本文作者:bigroc 本文链接:https://www.cnblogs.com/bigroc/p/14888550.html 代码 function getWeeks() { // 当年的年份 let year = new Date().getFullYear(); let data = let d = new Date(year, 0, 1); while (...
阅读全文 →共 1 篇文章
获取自然周 js获取自然周 本文作者:bigroc 本文链接:https://www.cnblogs.com/bigroc/p/14888550.html 代码 function getWeeks() { // 当年的年份 let year = new Date().getFullYear(); let data = let d = new Date(year, 0, 1); while (...
阅读全文 →