<script language="JavaScript" >
<!---
today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = "<FONT COLOR=red>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=red>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=red>:</FONT></BLINK>") + minutes+"</FONT></FONT>";
timeValue += (hours >= 12) ? "<FONT COLOR=blue><I><B>pm</B></I></FONT>" : "<FONT COLOR=blue><B><I>am</I></B></FONT>";
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray("<font color=RED>星期日","<font color=red>星期一","<font color=red>星期二","<font color=red>星期三","<font color=red>星期四","<font color=red>星期五","<font color=GREEN>星期六"); document.write("<font color=red>",today.getYear(),"<font color=red>年","<font color=red>",today.getMonth()+1,"<font color=red>月","<font color=red>",today.getDate(),"<font color=red>日 </FONT>",d[today.getDay()+1]);
//-->
</script>
<script>
now = new Date();
var hour2 = now.getHours()
var tmp="";
var sstr = "";
if(hour2 < 6){sstr=("凌晨好!")}
else if (hour2 < 9){sstr=("早上好!")}
else if (hour2 < 12){sstr=("上午好!")}
else if (hour2 < 14){sstr=("中午好!")}
else if (hour2 < 17){sstr=("下午好!")}
else if (hour2 < 19){sstr=("傍晚好!")}
else if (hour2 < 22){sstr=("晚上好!")}
else {sstr=("夜里好!")}
document.write(sstr);
</script>
<!---
today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = "<FONT COLOR=red>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=red>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=red>:</FONT></BLINK>") + minutes+"</FONT></FONT>";
timeValue += (hours >= 12) ? "<FONT COLOR=blue><I><B>pm</B></I></FONT>" : "<FONT COLOR=blue><B><I>am</I></B></FONT>";
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray("<font color=RED>星期日","<font color=red>星期一","<font color=red>星期二","<font color=red>星期三","<font color=red>星期四","<font color=red>星期五","<font color=GREEN>星期六"); document.write("<font color=red>",today.getYear(),"<font color=red>年","<font color=red>",today.getMonth()+1,"<font color=red>月","<font color=red>",today.getDate(),"<font color=red>日 </FONT>",d[today.getDay()+1]);
//-->
</script>
<script>
now = new Date();
var hour2 = now.getHours()
var tmp="";
var sstr = "";
if(hour2 < 6){sstr=("凌晨好!")}
else if (hour2 < 9){sstr=("早上好!")}
else if (hour2 < 12){sstr=("上午好!")}
else if (hour2 < 14){sstr=("中午好!")}
else if (hour2 < 17){sstr=("下午好!")}
else if (hour2 < 19){sstr=("傍晚好!")}
else if (hour2 < 22){sstr=("晚上好!")}
else {sstr=("夜里好!")}
document.write(sstr);
</script>