Count Down To....
- Home
- Javascript
- Count Down To....
Did you know that there are
Source Code:
<script name="JavaScript">
today = new Date()
millenium = new Date("December 31, 2024")
// To use this script for counting days and
// hours to some other date than the new year
// remove the date "Dec. 31" and put your
// own date there
millenium.setYear = today.getYear;
daysLeft = (millenium.getTime() - today.getTime()) / (1000*60*60*24);
daysLeft = Math.round(daysLeft);
document.write("only "+daysLeft+" days left until the new year?!");
</script>
count down javascript days until count