Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

<head></head>

<body>

<script language="javascript">
<!-- begin
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]="pazar";
day[1]="pazartesi";
day[2]="sal�";
Day[3]="�ar�amba";
day[4]="per�embe";
day[5]="cuma";
day[6]="cumartesi";
return day[daynumber];
}
var dayname=daytxt(thisday);
function monthtxt (monthnumber) {
var month=new array();
month[1]="ocak";
month[2]="�ubat";
month[3]="mart";
month[4]="nisan";
month[5]="may�s";
month[6]="haziran";
month[7]="temmuz";
month[8]="a�ustos";
month[9]="eyl�l";
month[10]="ekim";
month[11]="kas�m";
month[12]="aral�k";
return month[monthnumber];
}
var monthname=monthtxt(thismonth);
var d = new date();
var h = d.gethours();
document.write("<table border=3 bgcolor=white width=75 height=85
align=left>"+"<td>"+"<p align=center>"+"<font size=-2 >"+dayname+"<br>"+"<font
color=orangered size=+3
>"+thisdate+"</font>"+"<br>"+monthname+"<br>"+"</b>"+"</font>"+"</p>"+"</td>"+"</t
r>"+"</table>");
if (h < 2) document.write("<p align=center>"+"<b>"+"g�naydin!.:pp yes, it's way
past midnight."+"</b>"+"</p>");
else if (h < 3) document.write("<p align=center>"+"<b>"+"g�naydin! up early or
working late?"+"</b>"+"</p>");
else if (h < 7) document.write("<p align=center>"+"<b>"+"g�naydin! up bright and
early!"+"</b>"+"</p>");
else if (h < 12) document.write("<p
align=center>"+"<b>"+"t�naydin!"+"</b>"+"</p>");
else if (h < 17) document.write("<p
align=center>"+"<b>"+"t�naydin!"+"</b>"+"</p>");
else if (h < 23) document.write("<p align=center>"+"<b>"+"iyi
ak�amlar!"+"</b>"+"</p>");
else document.write("<p align=center>"+"<b>"+"a late good evening! not much left
of it now."+"</b>"+"</p>");
// end -->
</script>
<// hazirlayan ve sunan muratus macho_m -->
</body>

You might also like