#fcleft">



Only years, months, days, hours, minutes, and seconds left until the year 2000!!!

This is a very popular script. In fact, I don't know why I didn't put this in sooner. Many people like to have this script on their page. People think of the year 2000 as a milestone. Heck, some even think 2000 is the year of Armageddon. Whether it is or not: who cares. It is nice to have on your page in either situation.
The source...


<form name="abcdef">
Only 
<input type="text" name="a" size=2 value=""> years, 
<input type="text" name="b" size=2 value=""> months, 
<input type="text" name="c" size=2 value=""> days, 
<input type="text" name="d" size=2 value=""> hours, 
<input type="text" name="e" size=2 value=""> minutes, and  
<input type="text" name="f" size=2 value=""> seconds
left until the year 2000!!!
</form>

<script language="JavaScript">

<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var Temp2;
var timerID = null;
var timerRunning = false;

var timerID = null;
var timerRunning = false;

function stopclock () {
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;

}

function startclock () {
stopclock();
showtime();

}

function showtime() {

now = new Date();
var CurHour = now.getHours();
var CurMinute = now.getMinutes();
var CurMonth = now.getMonth();
var CurDate = now.getDate();
var CurYear = now.getYear();
var CurSecond = now.getSeconds();
now = null;
Hourleft = 23 - CurHour
Minuteleft = 59 - CurMinute
Secondleft = 59 - CurSecond
var Yearleft = 99 - CurYear
var Monthleft = 11 - CurMonth
var Dateleft = 31 - CurDate

document.abcdef.a.value = Yearleft
document.abcdef.b.value = Monthleft
document.abcdef.c.value = Dateleft
document.abcdef.d.value = Hourleft
document.abcdef.e.value = Minuteleft
document.abcdef.f.value = Secondleft

timerID = setTimeout("showtime()",1000);
timerRunning = true;
}

startclock();
// -->

</script>