ساعت و تاریخ :
<!-- This is a great Clock and Calendar, You MUST change the color= attribute
in the script so you can view it on your pages-->
<script language="JavaScript">
<!-- hide script from old browsers
// Modified by CoffeeCup Software
function process(){}
today = new Date()
if(today.getMinutes() < 10) {
pad = "0"}
else
pad = "";
document.write("<center><FONT SIZE=4 color=black>Welcome!!</FONT></center>")
if((today.getHours() < 12) && (today.getHours() >= 6))
{ document.write("<center><FONT SIZE=4 color=black>Good Morning</FONT></center>")}
if((today.getHours() >= 12) && (today.getHours() < 18))
{ document.write("<center><FONT SIZE=4 color=black>Good Afternoon</FONT></center>")}
if((today.getHours() >= 18) && (today.getHours() <= 23))
{ document.write("<center><FONT SIZE=4 color=black>Good Evening</FONT></center>")}
if((today.getHours() >= 0) && (today.getHours() < 4))
{ document.write("<center><FONT SIZE=4 color=black>You're up late today.</FONT></center>")}
if((today.getHours() >= 4) && (today.getHours() <= 6))
{ document.write("<center><FONT SIZE=4 color=black>Wow! You are up early!!</FONT></center>")}
document.write("<center><FONT SIZE=3 color=black>Time: ",today.getHours(),":",pad,today.getMinutes())
document.write(" Date: ",today.getMonth()+1,"/",today.getDate(),"/",today.getYear(),"<br></font></center>");
// end hiding contents -->
</script>