Time -1 time
Hvordan sætter jeg tiden 1 time tilbage og laver det om til 12 timers.<html>
<head>
<title>Time</title>
<style type="text/css">
BODY {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
</style>
<script language="JavaScript">
function ShowTime()
{
theDate = new Date();
txtTime.innerText = Date("Month dd. yyyy hh:mm:ss");
}
function CallTime()
{
ShowTime();
theTimer = setTimeout("CallTime()", 1000);
}
theTimer = setTimeout("CallTime()", 1000);
</script>
</head>
<body Text="#FFFFFF">
<p id="txtTime" style="Top:241px; Left:12px; Position: absolute; background: #000000"></P>
</body>
</html>
