A este codigo le falta algo y no se que.
Debe decir:
Goog morning!
y la fecha.
pero no me sale nada....
Si alguien me hecha una mano se lo agradecria muchisimo....
<Font size=2 face=arial><b>
<Script Language="JavaScript">
<!--
today = new Date()
if(today.getMinutes() < 10){
pad = "0"}
else
pad = "";
document.write ;if((today.getHours() >=6) && (today.getHours() <=9)){
document.write("Good morning!")
}
if((today.getHours() >=10) && (today.getHours() <=11)){
document.write("Good Morning!")
}
if((today.getHours() >=12) && (today.getHours() <=16)){
document.write("Good noon !")
}
if((today.getHours() >=17) && (today.getHours() <=19)){
document.write("Good afternoon!")
}
if((today.getHours() >=20) && (today.getHours() <=24)){
document.write("Good evening!")
}
if((today.getHours() >=1) && (today.getHours() <=5)){
document.write("Good night!")
}
// -->
</script>
</b></font>
<script language="JavaScript">
<!--
mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;
if(myday == 0)
day = " Sunday, "
else if(myday == 1)
day = " Monday, "
else if(myday == 2)
day = " Tuesday "
else if(myday == 3)
day = " wednesday, "
else if(myday == 4)
day = " Thursday, "
else if(myday == 5)
day = " Friday, "
else if(myday == 6)
day = " Saturday, "
if(mymonth == 0)
month = "January "
else if(mymonth ==1)
month = "February "
else if(mymonth ==2)
month = "March "
else if(mymonth ==3)
month = "April "
else if(mymonth ==4)
month = "May "
else if(mymonth ==5)
month = "June "
else if(mymonth ==6)
month = "July "
else if(mymonth ==7)
month = "Augost "
else if(mymonth ==
month = "Septembre "
else if(mymonth ==9)
month = "October "
else if(mymonth ==10)
month = "Novenver "
else if(mymonth ==11)
month = "Dicember "
document.write("<font face=arial, size=1>"+ day);
document.write(myweekday+" de "+month+ "</font>");
// -->
</script>