【今天是
<script>
var weekDayLabels = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
var now = new Date();
var year=now.getFullYear();
var month=now.getMonth()+1;
var day=now.getDate()
var currentime = year+"年"+month+"月"+day+"日 "+weekDayLabels[now.getDay()]
document.write(currentime)
</script>】
转载于:https://my.oschina.net/huewenhua/blog/681593