<- Zurück

Es wird die Urzeit angezeigt:

<body onload="DigitalTime()"">

<div align="left">

<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr>

<td width="100%" height="30"><span id="liveclock"

style="position:absolute;left:10px;top:10px;"><script language="JavaScript"><!--

function DigitalTime()

{

if(!document.layers && !document.all)

return

var DigitalClock = new Date();

var hours = DigitalClock.getHours();

var minutes = DigitalClock.getMinutes();

var seconds = DigitalClock.getSeconds();

if (minutes <= 9)

minutes = "0" + minutes;

if (seconds <= 9)

seconds = "0" + seconds;

//change font size here to your desire

digclock = "<font size='5' face='Arial' color='black'><b>" +

"<font size='1'>Aktuelle Zeit:</font></br>" +

hours + ":" + minutes + ":" + seconds + "</a></b></font>";

if (document.layers)

{

document.layers.liveclock.document.write(digclock);

document.layers.liveclock.document.close();

}

else if (document.all)

liveclock.innerHTML = digclock;

setTimeout("DigitalTime()",1000)

}

// --></script></span></td>

</tr>

</table>

</div>