Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该如何在 javascript 中获取当前周数。以下是我尝试过的一些方法:
var week = new Date().week; var week = new Date("W");
感谢您的帮助。