<html><head><title>Messages</title></head><body> <SCRIPT LANGUAGE="JavaScript"> currentTime=new Date(); //getHour() function will retrieve the hour from current time if(currentTime.getHours()<12) document.write("Good Morning"); else if(currentTime.getHours()<17) document.write("Good Afternoon"); else document.write("Good Evening");//End of JavaScript functions </SCRIPT></body></html>