简体   繁体   English

如何在javascript中根据周数,工作日和年份获取日期?

[英]how can i get date based on week number and weekday and year in javascript?

how can i get date based on week number and weekday and year in javascript? 如何在javascript中根据周数,工作日和年份获取日期?
If i give year is 2012 and weeknumber is 30 and day is monday(1) then how should i get date is 2012-07-23 in javascript? 如果我给年是2012年,并且周号是30,而天是monday(1),那么我应该如何在JavaScript中获取日期是2012-07-23?

You may date.js useful: 您可能对date.js有用:

Latest code from here: http://www.datejs.com/build/date.js 来自此处的最新代码: http : //www.datejs.com/build/date.js

Project page here: http://code.google.com/p/datejs/ , note that I cannot find a link to the latest source from the project home page. 项目页面位于: http : //code.google.com/p/datejs/ ,请注意,我无法从项目主页找到指向最新资源的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM