顺序很重要!!!不然会报错,后面的文件会引用前面的一些东西。
shili1: http://blog.csdn.net/lizai22/article/details/53522523
shili : http://blog.csdn.net/u013493957/article/details/44920341
calendar:http://blog.csdn.net/developerfanyl/article/details/52192910
https://www.cnblogs.com/zhangwei595806165/p/5533628.html
new date(2017,8,0) 返回的是2017,8,31,返回8月的最后一天
<!doctype html> <html> <head> <meta charset="utf-8"> <title>验证</title> </head> <body> <script> var year=2017; var month=11; var firstDayWeek = new Date(year+"-"+(month+1)+"-1").getDay(); var firstDayWeek = new Date(year+"-"+(month+1)+"-1").getDay(); var first=new Date(year+"-"+(month+1)); var firstDay=new Date(year+"-"+(month+1)+"-6"); document.write(first+"</br>"); document.write(firstDay+"</br>"); document.write(firstDayWeek); </script> </body> </html>
代码结果:
Fri Dec 01 2017 08:00:00 GMT+0800 (中国标准时间)
Wed Dec 06 2017 00:00:00 GMT+0800 (中国标准时间)
5
添加日程http://www.php230.com/1412662801.htmlhttp://www.php230.com/1412662801.html