var Today=new Date(); var ThisDay=Today.getDay(); var ThisDate=Today.getDate(); var ThisMonth=Today.getMonth()+1; var ThisYear=Today.getFullYear(); //included if you wish to insert the year function DayTxt (DayNumber) { var Day=new Array(); Day[0]="Zondag"; Day[1]="Maandag"; Day[2]="Dinsdag"; Day[3]="Woensdag"; Day[4]="Donderdag"; Day[5]="Vrijdag"; Day[6]="Zaterdag"; return Day[DayNumber]; } var DayName=DayTxt(ThisDay); function MonthTxt (MonthNumber) { var Month=new Array(); Month[1]="Januari"; Month[2]="Februari"; Month[3]="Maart"; Month[4]="April"; Month[5]="Mei"; Month[6]="Juni"; Month[7]="July"; Month[8]="Augustus"; Month[9]="September"; Month[10]="October"; Month[11]="November"; Month[12]="December"; return Month[MonthNumber]; } var MonthName=MonthTxt(ThisMonth); var d = new Date(); var h = d.getHours(); document.write(""+""+""+""+DayName+""+""+ThisDate+""+""+MonthName+""+""+""+""+""+""+""); if (h < 2) document.write(""+""+"Goede morgen! Ja, Het is way past midnight."+""+""); else if (h < 3) document.write(""+""+"Goede morgen! Vroeg op of laat aan het werk?"+""+""); else if (h < 7) document.write(""+""+"Goede morgen! Al vroeg wakker zeg!"+""+""); else if (h < 12) document.write(""+""+"Goede morgen!"+""+""); else if (h < 17) document.write(""+""+"Goede middag!"+""+""); else if (h < 23) document.write(""+""+"Goede avond!"+""+""); else document.write(""+""+"Nog laat achter de computer! Ga toch lekker naar bed."+""+""); Zet deze site bij je favorieten!!