﻿//2009年2月6号 星期五
var showToday = {
    weekdays:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],
    show:function(){
        var today = new Date();
        document.write(today.getFullYear()+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日" + " "+ showToday.weekdays[today.getDay()]);
    }
}
showToday.show();