<script type="text/javascript"> var myDate = new Date(); document.write(myDate.getFullYear() + '年' + (myDate.getMonth()+1) + '月' + myDate.getDate() + '日' +' 星期'+'日一二三四五六'.charAt(myDate.getDay())); </script>