
now = new Date();                 // create new Date object 
hour = now.getHours();          // from that date, grab current hour
                                                         
if (hour >= 0   && hour <  5 )  {document.write("<CENTER><FONT COLOR='GREEN'><I>Goedenacht!</I></CENTER></FONT>");}
if (hour >= 5   && hour < 12)  {document.write("<CENTER><FONT COLOR='GREEN'><I>Goedemorgen!</I></CENTER></FONT>");}
if (hour >= 12 && hour < 18)  {document.write("<CENTER><FONT COLOR='GREEN'><I>Goedemiddag!</I></CENTER></FONT>");}
if (hour >= 18 && hour < 24)  {document.write("<CENTER><FONT COLOR='GREEN'><I>Goedenavond!</I></CENTER></FONT>");}

