﻿
 
function showtime () {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = ((hours < 10) ? "0" : "") + hours
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
saat.innerHTML = timeValue;
window.setTimeout("showtime()",1000);
}
 
var font  = "Verdana";
var fcolor = "#ffffff";
var falign = "right";
var fsize = "1";
var now   = new Date();
var month = "";
var year  = now.getYear();
var day  = "";
var day  = now.getDay();
var date  = now.getDate();
 
if (now.getMonth() == 0) month = "Ocak"
if (now.getMonth() == 1) month = "Subat"
if (now.getMonth() == 2) month = "Mart"
if (now.getMonth() == 3) month = "Nisan"
if (now.getMonth() == 4) month = "Mayis"
if (now.getMonth() == 5) month = "Haz"
if (now.getMonth() == 6) month = "Tem"
if (now.getMonth() == 7) month = "Agust"
if (now.getMonth() == 8) month = "Eylul"
if (now.getMonth() == 9) month = "Ekim"
if (now.getMonth() == 10) month = "Kasim"
if (now.getMonth() == 11) month = "Aralik"
 
if (now.getDay() == 0) day = "pazar"
if (now.getDay() == 1) day = "Pazartesi"
if (now.getDay() == 2) day = "sali"
if (now.getDay() == 3) day = "carsamba"
if (now.getDay() == 4) day = "Persembe"
if (now.getDay() == 5) day = "Cuma"
if (now.getDay() == 6) day = "Cumartesi"
 
document.write('<font size="' + fsize + '" face="' + font + '" color="' + fcolor + '" align="' + falign + '">' + date + " " + month + " " + year)


