源代码:
下载代码
AI 编程工具
点击运行
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> fromDate=CDate("2009/12/31") toDate=CDate("2012/12/31") document.write(DateDiff("w",fromDate,toDate,vbMonday)) </script> </body> </html>
运行结果: