js中判断某个日期是周几 <script>var s = "2006/10/23"; alert("今天星期"+"天一二三四五六".charAt(new Date(s).getDay())); <script>